Help me about gmt scripts


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Help me about gmt scripts
# 1  
Old 05-22-2009
Help me about gmt scripts

does somebody know GMT mapping? please reply
# 2  
Old 05-22-2009
Do you mean Greenwich Mean Time? Or UTC? If so, your date utility should provide what you need, eg
Code:
$ LANG=C date
Fri May 22 17:35:48     2009
$ LANG=C date -u
Fri May 22 15:35:54 UTC 2009

# 3  
Old 05-22-2009
no, i mean GMT geographical mapping scripts
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

GMT to local Time conversion

How can I convert the following date format: New Log Date = 2016-12-30 23:50:33 GMT from GMT time to local time? Thanks (13 Replies)
Discussion started by: mrn6430
13 Replies

2. Shell Programming and Scripting

GMT to MST timestamp conversion

Hi Team, We have written a perl script to perform the GMT to MST timestamp conversion. Input: 2013-12-01T05:23:19.374 Output: need the given timestamp in MT (MST/MDT) #!/usr/bin/perl use strict; use warnings; use Time::Local; #always gmt #my $tval = '2013-12-01T05:23:19.374'; ... (4 Replies)
Discussion started by: kmanivan82
4 Replies

3. Solaris

Changing the timezone to GMT+1

Hello everyone, Can you please help me with this problem? I want to change the timezone of my Solaris 10 system. I found on internet that I should do the following steps: 1- Edit the /etc/TIMEZONE file 2- restart the system : init 6 My question is : In the file /etc/TIMEZONE I should... (5 Replies)
Discussion started by: adilyos
5 Replies

4. UNIX for Dummies Questions & Answers

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 (1 Reply)
Discussion started by: qwarentine
1 Replies

5. Solaris

audit log timestamps in GMT

I am aware that the timestamps of the audit log files are in the following format : file, 2011-09-13 07:40:24 .000 -4 Is there anyway that I can display the timestamps in local time format. Thanks for the help. ---------- Post updated at 02:18 PM ---------- Previous update was at 01:06... (0 Replies)
Discussion started by: chinchao
0 Replies

6. Shell Programming and Scripting

GMT -4 to determine day of week

I pulled the following code from one of Jim's threads. Since my server time is GMT, I need to make sure the output is GMT-4. Does anyone know how to tweak Perl to reflect this? Thanks Scott #!/bin/ksh # input format YYYY-MM-DD prints day name dow() { perl -e ' use POSIX... (13 Replies)
Discussion started by: WhoDatWhoDer
13 Replies

7. UNIX for Dummies Questions & Answers

GMT to PST

99.60.97.205 - - GET /2009-03-29/world/impact.row.atlantic_1_rower-paul-ridley-cancer-research?_s=PM:WORLD HTTP/1.1 200 9386 www.abc.com Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13 ... (4 Replies)
Discussion started by: sandy1028
4 Replies

8. Shell Programming and Scripting

GMT to PST

I have a file which is tab delimited, it contains the GMT date. Please tell me how to convert from GMT to PST time and if the date and time is of 2 days ago from the current date store the lines in a file or else remove the line. 10.1.10.178 - - - 10.1.10.178 - - ... (2 Replies)
Discussion started by: sandy1028
2 Replies

9. Shell Programming and Scripting

Easy way to conver GMT to EST5EDT

I have a tool that outputs its date as YYyymmddHHMMSS GMT. Does anyone know a simple way to convert this to EST5EDT using ksh? (1 Reply)
Discussion started by: 2dumb
1 Replies
Login or Register to Ask a Question