Can we perform mathematical operations on UNIX dates?

Discussion in 'Linux Discussion' started by javanewbie, May 30, 2008.

  1. javanewbie Not Active

    javanewbie
    Joined:
    May 30, 2008
    Messages:
    1
    Likes Received:
    0
    I want to know how much time has elapsed between 20:26:47 EST 02/04/2007 and 20:30:04 EST 02/04/2007? TIA.
  2. michael p Not Active

    michael p
    Joined:
    May 30, 2008
    Messages:
    1
    Likes Received:
    0
    http://linux.about.com/od/commands/l/blcmdl1_date.htm Use date in unix to get the time in UTC in seconds. Simply subtract them. Then you have the seconds between dates. Then convert using 86400 seconds in day 3600 in hour, 60 in minute etc.
  3. looking games gold

    If you are looking for games gold,it will be the best advice.thepowerlevel provides cheap power leveling and wow gold,silkroad gold services to MMORPG players and provide the Power leveling services and the gold

Share This Page