SunQuest
 
       Administration
  Home arrow Administration arrow Page 4 - UNIX Time Format Demystified
Dev Shed Forums 
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Actuate Whitepapers 
VeriSign Whitepapers 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ADMINISTRATION

UNIX Time Format Demystified
By: Barzan "Tony" Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2008-04-29

    Table of Contents:
  • UNIX Time Format Demystified
  • The Theory
  • Conversion Examples
  • Final Thoughts

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    UNIX Time Format Demystified - Final Thoughts


    (Page 4 of 4 )

    We’ve come to the end of this article. On these pages, I’ve shown you how to work with UNIX timestamps. Most importantly, we’ve demystified this concept. Those long strings of digits are all around us and some people haven’t a clue how the heck they can represent a date when they seem silly and sometimes even random.

    It’s really important to understand the mathematical theory that lies within UNIX timestamps, because if we have a strong grasp on it, we can do the conversions ourselves—even by hand on a sheet of paper with a pen. Of course, we can also write our own convert functions in any programming language.

    (Image Courtesy of Softpedia)

    After we learned the UNIX timestamps, we moved on to some practical real-world examples. Basically, you found lots of conversion implementations in various programming languages (even shell scripting). I explained the code samples and we also examined the syntax of the functions we opted to use.

    Should you have more questions or uncertainties, don’t hesitate to join the Dev Hardware Forums. It’s an ever-growing place with a very friendly and professional community made up of lots of technology experts and enthusiasts. Our focus lies mostly on hardware, software, and consumer electronics.

    You may want to also check out the communities of our sister sites, such as the Dev Shed Forums and ASP Free Forums.

    I hope that you’ve found this article informative and educational. Hopefully, you won’t be scared away the next time you notice a long string of digits representing a date, and you won’t think that the “coder” who is mumbling about dates is insane. On top of this, you learned how to convert plain English-like dates (along with times) back and forth to UNIX time.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · Thanks for reading. I hope you have found this article informative and educational....
       · Thanks Tony for being very clear and detailed in laymen's terms and being technical...
       · Thanks for your praises. I really appreciate your effort to leave a comment.As...
     

       

    ADMINISTRATION ARTICLES

    - Network Administration with FreeBSD 7
    - Components of an Information Architecture
    - The Anatomy of an Information Architecture
    - Configuring Load-Balanced Clusters
    - Load-Balanced Clusters
    - UNIX Time Format Demystified
    - Making Changes in the CVS
    - Building Your First CVS Repository
    - CVS Quickstart Guide
    - Authorizing Users in Samba
    - Handling User Accounts in Samba
    - Authentication in Samba
    - Accounts, Authentication, and Authorization
    - Advanced Concepts on Dealing with Files and ...
    - Dealing with Files and Filesystems





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway