Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/21/04 17:18
Read: times


 
#74628 - RE: Epoch significance - Steve
Responding to: ???'s previous message
Well, in computer science - counting time internally using seconds, minutes, hours, days, months would be terribly ineffective, so you just count seconds since certain moment in time and when user requests date displayed, you calculate it (using mktime() or similar function).
On UNIX systems the epoch starts 00:00 January 1, 1970 GMT. Right now it is 109043043 seconds since then and standard long int should suffice to fit such time format till some 2064 or so when we will face another Y2K-alike problem (only harder...)


List of 16 messages in thread
TopicAuthorDate
function mktime(....)            01/01/70 00:00      
   RE: function mktime(....)            01/01/70 00:00      
   RE: function mktime(....)            01/01/70 00:00      
   RE: function mktime(....)            01/01/70 00:00      
      RE: function mktime(....)            01/01/70 00:00      
         RE: function mktime(....)            01/01/70 00:00      
            Epoch significance - Steve            01/01/70 00:00      
               RE: Epoch significance - Steve            01/01/70 00:00      
                  RE: Epoch significance - Steve            01/01/70 00:00      
                  RE: Epoch significance - Steve            01/01/70 00:00      
         RE: function mktime(....)            01/01/70 00:00      
            RE: function mktime(....)            01/01/70 00:00      
               RE: function mktime(....)            01/01/70 00:00      
   RE: function mktime(....)            01/01/70 00:00      
   RE: function mktime(....)            01/01/70 00:00      
      Nice to know - Paul Vermeer            01/01/70 00:00      

Back to Subject List