11-13-2004
Hmmm not sure then. I have the time format set on pH:MM:SS AMPM and the only one it'll show am/pm on is the "plain". Oh well I tend to like the "plain" setting better since it displays the date too.
7 More Discussions You Might Find Interesting
1. Programming
Hey all,
i need a program to get the CPU ticks at certain points of my program. So, i thought about using the clock function, but i'm having a hard time figuring out how it really works. I wrote this simple program to try to understand it but it made me feel more confused:
#include <stdio.h>... (5 Replies)
Discussion started by: kastrup_carioca
5 Replies
2. Shell Programming and Scripting
I am developing a script that will run with '/bin/ksh' shell.
The script is intended to receive a password by keyboard input, but for security reasons I would like to hide what the user is typing.
The keyboard input is being caught by 'read' command.
exmaple :
echo "Please type your new... (1 Reply)
Discussion started by: marianor31
1 Replies
3. UNIX for Advanced & Expert Users
Hi
We had a AIX box built last year but was set to the correct GMT time, but using DST time zone. In march this year the clocks went forward without issues. (if I remember a couple of weeks early due to the DST zone)
This year we decided to change the clock to the correct time zone before... (0 Replies)
Discussion started by: markab2
0 Replies
4. Solaris
Hi there!!!
Need your help in solving some tricky problems.
Since clock() as such is buggy on SUN OS 5 we have started using gettimeofday() in our RTOS applications based on Solaris 9.
The problems we actually encountered previously were - the applications kind of freeze/hang eternally on... (1 Reply)
Discussion started by: smanu
1 Replies
5. Shell Programming and Scripting
I have the following data from a manual database dump. I need to format the columns so that I can import them into an excel spread sheet. So far I have been able to get past the hurdles with vi and grep. Now I have one last issue that I can't get past. Here is an example of the data.
Here is... (18 Replies)
Discussion started by: Chris_Rivera
18 Replies
6. OS X (Apple)
Hi
Howto save videos from MTV.com? I am using OS X.
example
http://www.mtv.com/videos/misc/730863/the-situations-confrontation.jhtml#id=1678445 (0 Replies)
Discussion started by: slashdotweenie
0 Replies
7. AIX
Configure nfs4 on aix ok
i did all
chnfsdom #return correct domain
chnfs -r /export
chnfs -p /export
configured and shared pseudo root
#etc/exports
/export -nfsroot
/var/pubblica -exname=/export/pubblica,vers=4,sec=sys:krb5p:krb5i:krb5:dh,rw
exportfs -a
mount correct
mount... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
LEARN ABOUT HPUX
setclock
setclock(3C) setclock(3C)
NAME
setclock - set value of system-wide clock
SYNOPSIS
DESCRIPTION
The function sets the current value of the specified system-wide clock,
supports a of defined in which represents the time-of-day clock for the system. For this clock, the values returned by represent the
amount of time since the Epoch.
The calling process must have appropriate privileges to set the clock.
RETURN VALUE
Upon successful completion, returns a value of zero; otherwise it returns -1 and sets to indicate the error.
ERRORS
fails if any of the following conditions are encountered:
[EINVAL] does not specify a known system-wide clock, or either is outside the range for a given clock type, or it specifies a
nanosecond value less than zero or greater than or equal to 1000 million.
[EIO] An error occurred while accessing the clock device.
[EPERM] The requesting process does not have the required appropriate privileges to set the specified clock.
FILES
SEE ALSO
clocks(2), getclock(3C), gettimer(3C), thread_safety(5).
STANDARDS CONFORMANCE
setclock(3C)