Sponsored Content
Top Forums UNIX for Advanced & Expert Users changing sys clock (PST to UTC) Post 302097393 by sumitpandya on Friday 24th of November 2006 04:25:08 AM
Old 11-24-2006
Sounds Linux novice?

use "dateconfig"
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Linux sys date changing

Could anyone help me on related commands in linux for viewing the current date of system & any command for changing the date of system. Tanx --nikk (1 Reply)
Discussion started by: nikk
1 Replies

2. 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

3. Shell Programming and Scripting

Find and Convert UTC Time to PST Time

Hello All - I have a script that grabs data from the net and outputs the following data 46029 46.144 -124.510 2010 07 26 22 50 320 4.0 6.0 2.2 9 6.8 311 1012.1 -0.9 13.3 13.5 13.3 - - 46041 47.353 -124.731 2010 07 26 22 50 250 2.0 3.0 1.6 8 6.4 - 1011.6 - ... (0 Replies)
Discussion started by: drexnefex
0 Replies

4. 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

5. Windows & DOS: Issues & Discussions

Reading MS Outlook pst file

I found a few products that claim to be able to recover deleted emails. Any recommendations? (1 Reply)
Discussion started by: jgt
1 Replies

6. Shell Programming and Scripting

Converting timestamp from PST to UTC

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)
Discussion started by: close2jay
4 Replies

7. Programming

Interactive Python 3.5+ sys.stdout.write() AND sys.stderr.write() bug?

(Apologies for any typos.) OSX 10.12.3 AND Windows 10. This is for the serious Python experts on at least 3.5.x and above... In script format sys.stdout.write() AND sys.stderr.write() seems to work correctly. Have I found a serious bug in the interactive sys.stdout.write() AND... (2 Replies)
Discussion started by: wisecracker
2 Replies
OFFTIME(3)						   BSD Library Functions Manual 						OFFTIME(3)

NAME
offtime, timeoff, timegm, timelocal -- convert date and time LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <time.h> struct tm * offtime(const time_t * clock, long int offset); struct tm * offtime_r(const time_t * clock, long int offset, struct tm *ret); time_t timeoff(struct tm * tm, long int offset); time_t timegm(struct tm * tm); time_t timelocal(struct tm * tm); DESCRIPTION
These functions are inspired by C standard interfaces named similarly. offtime() converts the calendar time clock, offset by offset seconds, into broken-down time, expressed as Coordinated Universal Time (UTC). offtime_r() is similar to offtime() but it places the returned struct tm * in the user supplied ret argument. timeoff() converts the broken-down time tm, expressed as UTC, offset by offset seconds, into a calendar time value. timegm() converts the broken-down time tm into a calendar time value, effectively being the inverse of gmtime(3). It is equivalent to the C standard function mktime(3) operating in UTC. timelocal() converts the broken down time tm, expressed as local time, into a calendar time value. It is equivalent to the C standard func- tion mktime(3), and is provided for symmetry only. SEE ALSO
ctime(3), tm(3), tzset(3) BSD
April 14, 2011 BSD
All times are GMT -4. The time now is 06:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy