Sponsored Content
Full Discussion: Change time winter=>summer
Operating Systems AIX Change time winter=>summer Post 302786445 by MichaelFelt on Wednesday 27th of March 2013 12:39:18 PM
Old 03-27-2013
The time on your system has never changed (that is an internal number).
To see how it looks to new users either login again, or type
Code:
$ date

  • modify TZ variable using set - or edit /etc/environment. If you edit /etc/environment, then
Code:
. /etc/environment
$ date

The last command gives the new presentation. Do not use the date command to change the time itself, just use the TZ variable to change the presentation of time of day.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Time change not working...

Hi, I am pretty new to the Solaris world. Just installed the version 8 and found that the time is off. I am in the Central time zone. In the beginning, the date and time was off by a day. After changing the /etc/default/init, there is no avail. The date is now correct but the time is still 5 hours... (7 Replies)
Discussion started by: conflansun
7 Replies

2. UNIX for Dummies Questions & Answers

Winter/Summer time change

Reliant Unix. Our branch in Syria has a Unix Server running our company application. Usually the the time is changed not in a fixed date.....but around end of October and beginning of November. The night of the summer winter time change last year...we put the server in singel user mode, then... (0 Replies)
Discussion started by: bcheaib
0 Replies

3. Linux

How To change time?

what command must i use to change time ? (4 Replies)
Discussion started by: Sirius
4 Replies

4. AIX

summer Time

Good Morning I want to know how I can Abort tha automaticaly date change from summer to winter time ( At the the last sunday of march the date change) Please it is very urgent (0 Replies)
Discussion started by: mktahar
0 Replies

5. Solaris

change time

The time of our Solaris server now is slowly more 20 seconds. How can we change it ? (3 Replies)
Discussion started by: anhtt
3 Replies

6. What is on Your Mind?

another whats on my mind!!! - winter waves

for anyone who surfs the northeast: why can't we have more frequent wave forming winds (bigger low pressure systems) in the summer?! i'm tired of putting on 100lbs of wet suit and surfing awesome waves. i'd rather put on no wet suit and surf awesome waves. :) damn the bermuda high!! anyone... (1 Reply)
Discussion started by: pupp
1 Replies

7. AIX

AIX TIME CHANGE

Hi Guys , I see a weird problem with one of the AIX Machine, The time is changing randomly on the server. The seconds part of the time is what is the problem which is jumping on a uneven order and coming back to the original state after some time and again the same.. I have collected the time... (8 Replies)
Discussion started by: kkeng808
8 Replies

8. Debian

change time

Hi all, I want change the time settings from EST to IST by using command line in Debian os. but it is not taken. Can any body show me the how to change the time settings by using command line. Thanks, (1 Reply)
Discussion started by: mastansaheb
1 Replies
DATE(1) 						      General Commands Manual							   DATE(1)

NAME
date - print or set the date and time SYNOPSIS
date [-qsu] [[MMDDYY]hhmm[ss]] [+format] OPTIONS
-q Read the date from stdin -s Set the time (implicit for -q or a date string) -u Print the date as GMT -t Use this number of seconds instead of current time EXAMPLES
date # Print the date and time date 0221921610 # Set date to Feb 21, 1992 at 4:10 p.m. DESCRIPTION
With the -q flag or a numeric argument, date sets the GMT time and date. MMDDYY refers to the month, day, and year; hhmmss refers to the hour, minute and second. Each of the six fields must be exactly two digits, no more and no less. date always display the date and time, with the default format for the system. The -u flag request GMT time instead of local time. A format may be specified with a + followed by a printf-like string with the following options: %% % character %A Name of the day %B Name of the month %D mm/dd/yy %H Decimal hour on 2 digits %I Decimal hour modulo 12 on 2 digits %M Decimal minute on 2 digits %S Decimal seconds on 2 digits %T HH:MM:SS %U Decimal week number, Sunday being first day of week %W Decimal week number, Monday being first day of week %X Same as %T %Y Decimal year on 4 digits %Z Time Zone (if any) %a Abbreviated name of the day %b Abbreviated name of the month %c Appropriate date & time (default format) %d Decimal day of the month on 2 digits %e Same as %d, but a space replaces leading 0 %h Same as %b %j Decimal dey of the year on 3 digits %m Decimal month on 2 digits %n Newline character %p AM or PM %r 12-hour clock time with AM/PM %s Number of seconds since the epoch %t Tab character %w Decimal day of the week (0=Sunday) %x Same as %D %y Decimal year on 2 digits SEE ALSO
time(2), ctime(3), readclock(8). DATE(1)
All times are GMT -4. The time now is 10:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy