icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » Can anyone tell me how to read these?

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old August 4th, 2004, 7:01 PM   #1 (permalink)
Senior Member
Excelling Contributor
 
Joined in Jun 2004
748 posts
Gave thanks: 0
Thanked 0 times
Can anyone tell me how to read these?

Somehow this 1091654809 translates to this Wed 04 Aug 2004 17:26:49 EDT

I need to change a few dates in my database. Usually this is not a problem... but when it looks like that... it's a BIG problem. If I can figure out the "code" then I can make the changes I need to make.

I need to put the actual date the articles were written... not the date they are posted to the site. For the most part, I have been able to just go in the database and change a "real" date.

But there is one section that has this weird number thing going on. Some of the dates I need to change to go back to 1999.

If anyone can shed some light on this I sure would appreciate it. Maybe there is some sort of table somewhere??? I searched and searched Yahoo, but Yahoo doesn't seem to understand what I am asking it to look for. My guess is there is some technical name for what I need... but I don't know what it is...

Thanks.
imsleepy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 4th, 2004, 7:33 PM   #2 (permalink)
The Coolness
Excelling Contributor
 
bassdaddy777's Avatar
 
Joined in May 2003
Lives in Sandpoint, Idaho
Hosted on Dime5
862 posts
Gave thanks: 0
Thanked 0 times
Quote:
Originally Posted by imsleepy
Somehow this 1091654809 translates to this Wed 04 Aug 2004 17:26:49 EDT

I need to change a few dates in my database. Usually this is not a problem... but when it looks like that... it's a BIG problem. If I can figure out the "code" then I can make the changes I need to make.

I need to put the actual date the articles were written... not the date they are posted to the site. For the most part, I have been able to just go in the database and change a "real" date.

But there is one section that has this weird number thing going on. Some of the dates I need to change to go back to 1999.

If anyone can shed some light on this I sure would appreciate it. Maybe there is some sort of table somewhere??? I searched and searched Yahoo, but Yahoo doesn't seem to understand what I am asking it to look for. My guess is there is some technical name for what I need... but I don't know what it is...

Thanks.
I believe computers don't actually know the time and date. Instead they count how many seconds have passed since a certain event. How you can convert that I don't know.
__________________
Bronze Reseller
Pass36
bassdaddy777 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 4th, 2004, 7:44 PM   #3 (permalink)
ubuntu Fan
Super #1
 
Travis's Avatar
 
Joined in Nov 2003
Lives in Calgary Alberta Canada
2,724 posts
Gave thanks: 0
Thanked 0 times
I think it it counts from january 1st 1990
__________________
"A lot of people are waiting for Martin Luther King or Mahatma Gandhi to come back -- but they are gone. We are it. It is up to us. It is up to you."
— Marian Wright Edelman
Travis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 4th, 2004, 7:45 PM   #4 (permalink)
Surpass Fan
Seasoned Poster
 
klasiphyd's Avatar
 
Joined in Jul 2004
Hosted on Sync
65 posts
Gave thanks: 0
Thanked 2 times
Yeah it's Unix time. Here is an easy online conversion page http://www.onlineconversion.com/unix_time.htm
__________________
The early bird may get the worm, but the second mouse gets the cheese.
.:. Sync .:. OC5 .:.
klasiphyd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 4th, 2004, 7:46 PM   #5 (permalink)
Surpass Fan
Seasoned Poster
 
klasiphyd's Avatar
 
Joined in Jul 2004
Hosted on Sync
65 posts
Gave thanks: 0
Thanked 2 times
Actually I think it's seconds since 01.01.1970

EDIT: yep, looking at that link I posted a little closer it says so right on it. (what? read a webpage instead of just using it? naw..)
__________________
The early bird may get the worm, but the second mouse gets the cheese.
.:. Sync .:. OC5 .:.
klasiphyd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 4th, 2004, 7:56 PM   #6 (permalink)
Senior Member
Excelling Contributor
 
Joined in Jun 2004
748 posts
Gave thanks: 0
Thanked 0 times
Thanks! Perfect!! :reddance:
imsleepy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On