convert unix time to Gregorian
- From: hiroakiyui@xxxxxxxxx ("Yui Hiroaki")
- Date: Mon, 28 Apr 2008 01:27:43 +0900
hi!
I am try to change unix time to Gregorian.
I successfully convert unix time to Gregorian.
But Gregorian time is now showing hour and second and more detail time.
<?php
$unix_timestamp="1208764059";
echo "$unix_timestamp"."\tUnix Time Stamp"."<br />";
$julius=unixtojd($unix_timestamp);
$Gregorian=jdtogregorian("$julius");
echo "$Gregorian";
?>
Above code showing the result only date and year.
ie
1208764059 Unix Time Stamp
2454578 //julius
4/21/2008 //Gregorian <-----
I need to see hour and time or more detail time.
If some knows convert Unix time stamp to Gregorian with hour and second,
please teach me how!
.
- Follow-Ups:
- Re: [PHP] convert unix time to Gregorian
- From: "Nathan Nobbe"
- Re: [PHP] convert unix time to Gregorian
- Prev by Date: IMAP errors
- Next by Date: Re: [PHP] convert unix time to Gregorian
- Previous by thread: IMAP errors
- Next by thread: Re: [PHP] convert unix time to Gregorian
- Index(es):
Relevant Pages
|