08-01-2004
I'm to the point where computing pretty much /is/ my only hobby. I used to be into football, but now pretty much all of my time is spent on the screen. To be more specific, I'm learning C, talking on aim/irc, listening to winamp, and experimenting with different Linux distros on a typical day.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Anyone know how to automate the Unzip password prompt?
I need to unzip a window's file in Unix without manually
typing in the password. (2 Replies)
Discussion started by: Ronny Lam
2 Replies
2. Solaris
Hi,
We've gotta bit of a problem regarding backups. Sometimes when we run a backup from a script :
find . -print |grep -v "^\.\/newicc" | grep -v "^\.\/proc" >$LST
cat $LST | cpio -oBcav > /dev/rmt/1cb
It quite often it seems to hang when it reaches the /etc/magic file. This happens... (2 Replies)
Discussion started by: PaulC
2 Replies
3. Shell Programming and Scripting
Hi,
I need to get the date and time for past 1 hour from the current date. Anyone know how to do so?
Thanks (5 Replies)
Discussion started by: spch2o
5 Replies
4. Shell Programming and Scripting
i am asking to do somethings like:
make use of 2 environment variables:
ASS1_DATA_DIR specifies the location of the input data files
ASS1_OUTPUT_DIR specifies the location of the output data files
i have something like that;
#set environment variables
set
VARIABLE1=ASS1_DATA_DIR... (5 Replies)
Discussion started by: mingming88
5 Replies
5. Solaris
Hello
I have a question that may sound stupid after and maybe it is.
We are syncing our sytem time via ntp from a reference time server. all works quite well
but due to a mall applikation which not accepts timestamps from our servers that in the future,
and if it even was 1 ms, we have to... (1 Reply)
Discussion started by: demwz
1 Replies
6. Shell Programming and Scripting
Hi guys,
could you help to find a way to get the past 30 mins time in solaris.
version:
bash-3.00# uname -a
SunOS solaris 5.10 Generic_142910-17 i86pc i386 i86pc
I had tried the following ways, it works fine in GNU Linux, but doesn't work in Solaris.
# date
Tue Apr 2 01:01:49 CST... (4 Replies)
Discussion started by: ambious
4 Replies
7. UNIX and Linux Applications
One of my job is taking long running time.
I need to identify from the unix log file can you please help how to troubleshoot. (1 Reply)
Discussion started by: Nsharma3006
1 Replies
8. Forum Support Area for Unregistered Users & Account Problems
Trying to register the Verification step is blocking me. I've allowed all the intrusive Google trackers and Java. Tried different browsers with no blocking. Nothing is working. Says: "Try again later Your computer maybe ... " What weird is in this forum section I can pass the recaptcha but in... (1 Reply)
Discussion started by: Unregistered
1 Replies
LEARN ABOUT SUSE
time::ctime
Time::CTime(3) User Contributed Perl Documentation Time::CTime(3)
NAME
Time::CTime -- format times ala POSIX asctime
SYNOPSIS
use Time::CTime
print ctime(time);
print asctime(localtime(time));
print strftime(template, localtime(time));
strftime conversions
%% PERCENT
%a day of the week abbr
%A day of the week
%b month abbr
%B month
%c ctime format: Sat Nov 19 21:05:57 1994
%d DD
%D MM/DD/YY
%e numeric day of the month
%f floating point seconds (milliseconds): .314
%F floating point seconds (microseconds): .314159
%h month abbr
%H hour, 24 hour clock, leading 0's)
%I hour, 12 hour clock, leading 0's)
%j day of the year
%k hour
%l hour, 12 hour clock
%m month number, starting with 1
%M minute, leading 0's
%n NEWLINE
%o ornate day of month -- "1st", "2nd", "25th", etc.
%p AM or PM
%r time format: 09:05:57 PM
%R time format: 21:05
%S seconds, leading 0's
%t TAB
%T time format: 21:05:57
%U week number, Sunday as first day of week
%w day of the week, numerically, Sunday == 0
%W week number, Monday as first day of week
%x date format: 11/19/94
%X time format: 21:05:57
%y year (2 digits)
%Y year (4 digits)
%Z timezone in ascii. eg: PST
DESCRIPTION
This module provides routines to format dates. They correspond to the libc routines. &strftime() supports a pretty good set of coversions
-- more than most C libraries.
strftime supports a pretty good set of conversions.
The POSIX module has very similar functionality. You should consider using it instead if you do not have allergic reactions to system
libraries.
GENESIS
Written by David Muir Sharnoff <muir@idiom.com>.
The starting point for this package was a posting by Paul Foley <paul@ascent.com>
LICENSE
Copyright (C) 1996-1999 David Muir Sharnoff. License hereby granted for anyone to use, modify or redistribute this module at their own
risk. Please feed useful changes back to muir@idiom.com.
perl v5.12.1 2004-02-08 Time::CTime(3)