Time setting on Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris Time setting on Solaris 10
# 1  
Old 05-04-2011
Time setting on Solaris 10

Hi all,

Any idea please how to:

-Change Time format from 24h format to 12h format (AM and PM)

-Turn off DST: Daylight Save Time

on a Solaris10 server

Thanks in advance

Last edited by rafikrafik09; 05-04-2011 at 06:25 AM..
# 2  
Old 05-04-2011
How do you display the time ?

You cannot turn off DST, only governments can do that Smilie however you can easily switch to a timezone that has no daylight saving time, eg
Code:
export TZ=GMT
date

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Setting up Solaris & ZFS for the first time

Hello All I’ve made the decision to switch my storage server from FreeNAS to Solaris. I opted to use FreeNAS as it has ZFS and until BTRFS is stable, it’s the best option (IMHO) for backup and network storage. The switch was facilitated by the USB stick that FreeNAS was on got lost during a... (1 Reply)
Discussion started by: BlueDalek
1 Replies

2. Shell Programming and Scripting

Setting time for running of the script

Dear all, I wonder if it is possible that we can run the script from time to time..I meant, it should repeat the sourcing of the script by itself? In my case, I need to source this script manually from time to time, like once in every 10 minutes. emily, (2 Replies)
Discussion started by: emily
2 Replies

3. UNIX for Dummies Questions & Answers

Setting time from application

Hello all, I wish to set the time and date of the system from my application. (I write code in C ). How can it be done? I found the function stime() - but it gets time in seconds as a parameter, and I don't know how to convert my time & date to seconds since EPOCH. What's the best... (0 Replies)
Discussion started by: klafte
0 Replies

4. Solaris

Setting up SSH - first time

Good day to you all. I have a server (running on SunOS 5.8) that i always got into via telnet. I have eventually decided to block telnet access to it and instead look toward using SSH. The problem is, whne i establish the SSH connection via PuTTy, i get the "Log in as" prompt, but upon... (5 Replies)
Discussion started by: de049
5 Replies

5. Shell Programming and Scripting

Setting properties for vi during run time.

hi I want to view the line numbers in /bin/rvi when i open a file to edit in a script. The default properites of vi editor are not set to view line numbers and not allowed to change them. So instead of doing :set nu everytime editor opens the file, how it can be set temporarily when script is... (4 Replies)
Discussion started by: ashish_uiit
4 Replies

6. UNIX for Dummies Questions & Answers

need help setting time!

I am trying to change the time on a Sun Solaris System, but I am having some difficulties. I thought by accessing the clock icon in the CDE would allow me to change the time. Also when I clicked the help icon I still could not fine any information. (1 Reply)
Discussion started by: wmosley2
1 Replies

7. UNIX for Dummies Questions & Answers

Setting Directory Time

How would I modify the time of a directory? The touch command appears to only work on files and I searched through the threads looking for an example on dealing with directories. I have a directory that has a recent date, but none of the files within the directory are recent. I'd like to set... (2 Replies)
Discussion started by: jgordon
2 Replies

8. UNIX for Dummies Questions & Answers

Time zone setting

Tru64 (4.0D) How to change the time zone setting for the system? Sanjay (5 Replies)
Discussion started by: sanjay_g
5 Replies

9. UNIX for Dummies Questions & Answers

setting session time

Please lemme know how & where to set the session time for ftp connection in Wu-ftp . Regards Gambhi. (5 Replies)
Discussion started by: gambhi_s
5 Replies

10. UNIX for Dummies Questions & Answers

setting date and time

how do i set the system date and time? i know i have to be root to do it but i'm new to unix--really new--and some of this stuff seems really cryptic. thanks for any help.:confused: (2 Replies)
Discussion started by: singlefin
2 Replies
Login or Register to Ask a Question