|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
Linux time to standard mm/dd
code to convert linux time ( ex: 1060640800 ) to standard something like (this is wrong) August 10, 2003 or just August 10
|
#2
|
||
|
PHP Code:
PHP Code:
2003 06 14 Example 2 PHP Code:
Tue, 12 Aug 2003 21:06:14 +0200 Enjoy I do hope you ment PHP, but im asuming because you said "Linux" Last edited by SilentTrigger; 08-12-2003 at 03:01 PM. |
#3
|
||
|
thanks man, i did mean unix/linux pretty much whats used, its from some date i think 1970, 01/01
|
#4
|
||
|
Correct!
The number of seconds from the UNIX Epoch You can do it manualy and devide the seconds into days and then put that on to Jan 1 1970 But it would probebly not be that quick, and probebly not as acurret hehe |
#5
|
||
|
ack one prob, its displaying Wednesday 1969, December 31 the night/hour before said 'epoch' lol im not that old yet so thats not right lol
http://punksofwar.com/gn |
#6
|
||
|
Then its probebly not seconds from the UNIX epoch your using...
Or you must be doing something wrong, I cant see what from looking at "Wednesday, Dec 31" Code to generate unix timestamp PHP Code:
Last edited by SilentTrigger; 08-13-2003 at 09:23 AM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mm | atholon | Humor & Jokes | 1 | 12-27-2008 07:53 AM |
MM live | skinny killer | General Chat | 0 | 03-08-2008 01:01 PM |
Windows MP, MM | the Medicâ„¢ | Tech Support | 3 | 07-21-2005 04:33 PM |
Ravage MM re: banner | Steve | Sigs and Graphics | 12 | 10-16-2003 03:11 PM |
MM Snipers ~Looking for recruits~ | Ravage MM | Gaming Talk | 7 | 10-07-2003 09:15 PM |