yii-jdf-component Yii Extension For Jalali Date and Time (JDF)

  1. Requirements
  2. Installation
  3. Usage
  4. Example
  5. Resources
  6. Main File Creator

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)

0 0
1 follower
268 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Date and Time
Tags:
Developed by: Masoud Sawari
Created on: Oct 18, 2014
Last updated: 9 years ago

Downloads

show all