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 ¶
- First See help.htm file and review it. All functions and their parameters explained on help.html.
- 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)
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.