jdatetime Jalali Date Time Extention

  1. Requirements
  2. Install
  3. Usage

JDateTime extension is a convenient and complete solution for users who want to use jalali date in their projects.

Requirements

Yii 1.1 or above

Install

  • Extract to extensions directory
  • Add as component to main config
'jdate' => array(
    'class' => 'ext.jdate.JDateTime',
    'convert' => true,
    'jalali' => true,
    'timezone' => 'Asia/Tehran',
),

Usage

Yii::app()->jdate->date("H:i:s Y/m/d",time())
8 0
11 followers
1 949 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Date and Time
Developed by: Ramin Farmani
Created on: Sep 23, 2011
Last updated: 6 years ago

Downloads

show all

Related Extensions