1
irmtfan
anno hegirae
  • 2003/12/26 6:48

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


I want to change base of date to anno hegirae for iranian users & also may use for countries who use anno hegirae.
I have a php file (jdf.php) with some functions for change date to hegira but i dont know how to use them.
i read guide of this php & it said i must put line:
<?php require_once"jdf.php" ?>
to any where i want use functions.
this functions act like date() & mktime() function
& their name is jdate() & jmaketime()
my question is in what files i must use this functions to change date?


code:

Quote:
function jdate($type,$maket="now")
function jmaketime($hour,$minute,$second,$jmonth,$jday,$jyear)


u find php in this link:
http://jdf.farsiprojects.com

2
robekras
Re: anno hegirae
  • 2003/12/26 10:01

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


In xoops/html/include/functions.php
there is the following function:
function formatTimestamp($time, $format="l", $timeoffset="")
Maybe this is the correct place!?

Login

Who's Online

250 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 250


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits