Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-29-2012
Registered User
 
Join Date: Apr 2012
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
How to get GMT Offset for a specific date?

How can I get GMT offset from EST for a particular date(not current date) in unix. For example, user enters date as: 2012-06-25D11:49:37, this is GMT. I have to calculate GMT offset from EST in unix for this input. Thanks in advance.

-Steve
Sponsored Links
    #2  
Old 06-29-2012
...@...
 
Join Date: Feb 2004
Location: NM
Posts: 9,652
Thanks: 164
Thanked 644 Times in 621 Posts
Define offset - like -5 hours? or the time in EST? ... or EDT. You do realize that EST is always at a fixed offset from GMT.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to delete files from a specific date? DallasT UNIX Desktop for Dummies Questions & Answers 8 07-07-2012 11:44 AM
Getting a specific date from cal output with AWK Casey Shell Programming and Scripting 6 12-16-2009 05:15 PM
backup of files for a specific date akm9999 Filesystems, Disks and Memory 3 10-25-2008 11:13 AM
List files with a specific date... B14speedfreak Solaris 4 06-15-2006 08:59 AM
specific date on the log ahmad_one Shell Programming and Scripting 1 03-26-2006 07:49 AM



All times are GMT -4. The time now is 05:17 AM.