thnx :o
http://us2.php.net/manual/en/function.time.php time() http://us2.php.net/manual/en/ref.datetime.php date and time functions
can you please post a example ?
drag0n , i dont think that will work..
these formats will work:
2003-07-30 03-7-30 03-07-30 7/30/03 30 July 2003 30 Jul 2003 Jul 30, 2003
there are a couple more but those are the ones i can think of off the top of my head.
that code did not work (properly) for you. that UNIX timestamp you echo'ed is wrong. strtotime() will not properly parse a date in that format. try this:
$date = mktime (0,0,0,07,30,2003); echo $date;
Originally posted by drag0n Well that code worked for me switched that to:2082096000
sure it will output numbers, but "2082096000" is December 24, 2035 😃
ooops, my bad
oooooooooops! :eek:
working fine 🙂
<? $date = mktime (0,0,0,07,30,2003); echo $date."<BR>"; echo $date = strftime("%d/%m/%Y",$date); ?>