Sponsored Content
Full Discussion: Correct time in server
Top Forums UNIX for Dummies Questions & Answers Correct time in server Post 302286149 by vbe on Tuesday 10th of February 2009 12:12:29 PM
Old 02-10-2009
What OS is it?
on HP-UX:
ant:/home/vbe $ date
Tue Feb 10 18:01:00 MET 2009
ant:/home/vbe $ echo $TZ
MET-1METDST
ant:/home/vbe $ TZ=CET
ant:/home/vbe $ date
Tue Feb 10 17:01:13 CET 2009
ant:/home/vbe $

As you can see how I set TZ to CET, if that is what you want , just add it in your .profile...
(My timezone is for Switzerland, France...)


All the best
 

8 More Discussions You Might Find Interesting

1. AIX

Help ... Java not reading correct AIX system time.

I have Java 1.4.2 (IBM AIX build ca142-20050929a SR3) installed on AIX 5.3. My system time is set correctly and both date and smitty confirm the correct date, time, and timezone: #date Thu Sep 21 15:12:42 EDT 2006 However, when I check the sytem time in Java... (2 Replies)
Discussion started by: dave521
2 Replies

2. UNIX for Advanced & Expert Users

How To Provide Time Sync Using Nts-150 Time Server On Unix Network?

can anybody tel lme,how to instal NTS -150 on a unix network,it needs some patch to fetch time frm serve,,?? (2 Replies)
Discussion started by: pesty
2 Replies

3. Linux

Process start time not showing correct time

Process start time is not showing the correct time: I had started a process on Jun 17th at 23:30:00. Next day morning when I run the command "ps -ef | grep mq", the process is showing the start date of Jun 17th but the start time is 00:16:41 Day/Date is setup correctly on the server. It... (2 Replies)
Discussion started by: hemangjani
2 Replies

4. AIX

Time Zone for a User Different From Server Time

Hi, A server runs on EDT. Can I set a user with time-zone GMT without changing the server time? regards, Roshni (1 Reply)
Discussion started by: RoshniMehta
1 Replies

5. HP-UX

How to rename file in FP server with server time stamp?

Hello All, I am new user in this forum. Facing problem when trying to download file using Perl ::NET:FTP module. I need to rename the remote server file with latest timestamp of that ftp server. Can somebody help me if this is possible? Many thanks, (5 Replies)
Discussion started by: krsnadasa
5 Replies

6. Solaris

modifying date and time and time zone on solaris 5.10 with (redundant server) veritas

I have a cluster of two Solaris server (veritas cluster). one working and the other is standby I am going to change the date on them , and am looking for a secure solution as it is giving an important service. my opinion is that the active one doesn't need to be restarted (if I don't change the... (1 Reply)
Discussion started by: barry1946
1 Replies

7. Shell Programming and Scripting

How to get the correct IP on a Linux server?

Hi I need to get IP address from linux server. There are many script to do this, but no one is perfect. They just grab eth0 or eth1 from ifconfig, and this may, may not be correct. You may have several IF configured, but only one is default GW Here is how I would like the process to be.... (8 Replies)
Discussion started by: Jotne
8 Replies

8. Shell Programming and Scripting

How to preserve time stamp while copying a directory from Server B to Server A?

Experts, Please help me out here. How to preserve time stamp while copying a directory from Server B to Server A (3 Replies)
Discussion started by: ahmed.vaghar
3 Replies
leave(1)						      General Commands Manual							  leave(1)

NAME
leave - remind you when you have to leave SYNOPSIS
[hhmm] DESCRIPTION
The command waits until the specified time, then reminds you to leave. You are reminded 5 minutes and 1 minute before the actual time, at the time, and every minute thereafter. When you log off, exits. The time of day is in the form hhmm, where hh is a time in hours (which can range from 0 through 11 or 0 through 24 hours), and mm is the number of minutes after the specified hour. If the value of hh is greater than 11 (24-hour clock time), the specified value is reduced by 12 to a new value in the range of 0 through 11, thus ensuring that the alarm time is always set to activate within the next 12 hours. For example, if hhmm is 1350 and the current time is 4:00 PM (1600), the 1350 value is changed to 150 and the alarm is set for 1:50 AM, nine hours and 50 minutes later. On the other hand, if it is 9:00 AM and hhmm is specified as 2200 (10:00 PM), the value used is converted to 1000 and the alarm is set for one hour later instead of 13 hours as specified. If no argument is provided, prompts with A reply of newline causes to exit; otherwise the reply is assumed to be a time. This form is suitable for inclusion in a or file. The command ignores interrupts, quits, and terminate signals. To get rid of it you should either log off or use giving its process ID. EXAMPLES
The command sends an alarm (a beep) to your terminal to remind you that you have to leave at 12:04 and reminds you that you are late at one minute intervals after 12:04. WARNINGS
The command checks to see if a user has logged out by checking the file every 100 seconds. If a user logs out and logs back in to the same tty before makes its periodic check, may not know that the user has logged out. AUTHOR
was developed by the University of California, Berkeley. FILES
SEE ALSO
calendar(1). leave(1)
All times are GMT -4. The time now is 01:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy