when i try in korn shell i am getting error like this:
In file i have "2009-04-28 23:10:05 CST"
My local server has UTC time. what i need to do is i need to wait till the date and time of the file comes and once it encounters this date and time then i need to start processing further.
The problem is i m unable to convert my server's UTC time to CST, so i need to convert CST to UTC date and time.
Last edited by Yogesh Sawant; 04-14-2011 at 08:23 AM..
Reason: added code tags
Gents,
Kindly can u help with this.
I would like to get GPS time from UTC
Input
17/11/27 03:13:50:480000
17/11/27 03:12:54:380000
17/11/27 03:14:39:980000
output desired.
17/11/27 03:13:50:480000 1195787648480000
17/11/27 03:12:54:380000 1195787592380000
17/11/27... (6 Replies)
I need away to convert the following GMT date and time value RAW_TME= 042720171530 "mmddccyyhhmm" to Localhost time. In this case it is in central time.
Here is what I came up with but it does not look efficient:
RAW_TME=042720171530
logmm=`echo $RAW_TME | cut -c1-2`
logdd=`echo $RAW_TME |... (4 Replies)
I need to convert the given datetime from PST to UTC, i gone through multiple forum examples but everywhere it mentioned about converting the server datetime. So could someone help me on this.
I will be getting arguments for my script in the format of yyyymmddhh (eg:2015101004 - it will be pst),... (4 Replies)
Hi,
I need to convert a number representing time in UTC seconds to a date. Ex:
3BE0082C --> Oct 31 2001 15:31:08
I have tried the following perl command but it gives a different answer?
$ perl -e 'print scalar localtime(shift), "\n"' 3BE00B2C
Thu Jan 1 03:00:03 1970
Any ideas? Thanks. :) (10 Replies)
Hello,
I am trying to figure out a way to convert the timestamps in a dataset from one timezone (which has daylight savings) to UTC.
2009-02-25 23:57:22,000D60727B89,221.16.86.23,SYSTEM1What would be the best way to approach this? (3 Replies)
Is there an AIX command that displays the date mode so I can see if we have universal time code on? There's a vms command to tell you this but I have not been able to find a similar AIX command. (0 Replies)