Yii 1.1: yii-jdf-component

Yii Extension For Jalali Date and Time (JDF)
1 follower

Yii Extension For Jalali Date and Time (http://jdf.scr.ir)

Requirements

Yii 1.1 or above

Installation

Just copy YiiJDF.php file in protected/components

Usage

  1. First See help.htm file and review it. All functions and their parameters explained on help.html.
  2. And just add YiiJDF:: before function name.

Example

YiiJDF::jdate('Y/n/j')
YiiJDF::jstrftime('%Y %B %e')
YiiJDF::jmktime(6,15,34,11,22,1389)
YiiJDF::jcheckdate(11,22,1389);
YiiJDF::jcheckdate(12,30,1389);
YiiJDF::gregorian_to_jalali(2011,2,11,' / ')
YiiJDF::jalali_to_gregorian(1389,11,22,' - ')

Resources

For full help and complete documentation please open help.htm file and review it.

Main File Creator

Thanks very much to Mr. Reza Gholampanahi (http://jdf.scr.ir)

Be the first person to leave a comment

Please to leave your comment.

Create extension