9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Need assistance . Below code gives me the date but I wanted output as day of the week (wday) .
Code:
use Time::Local;
my $time=timelocal(1,2,3,9,11,2013);
$theTime = localtime($time);
print "$theTime\n";
Result:
Mon Dec 9 03:02:01 2013
Wanted output as only Mon (2 Replies)
Discussion started by: ajayram_arya
2 Replies
2. UNIX for Advanced & Expert Users
Hello Experts,
I need to evaluate my API performance, so need a script to get the time difference for all the transaction that has gone through my application in a day. The challenge is the multi threaded logs, so I cant just get all the Telephone Numbers and check the entering and existing... (5 Replies)
Discussion started by: samjna
5 Replies
3. Shell Programming and Scripting
I manage to find and proces one script, now i need to automate this script for every day at the same time... (2 Replies)
Discussion started by: voltaza
2 Replies
4. Shell Programming and Scripting
ould we generate a sequence number based on the time of the day?
e.g. an application is scheduled to run from 0800 hrs to 1700 hrs with a frequency of Once every five minutes
the intention is to "assign" a certain value to a variable when depending on the time of the day
i.e. if the time... (6 Replies)
Discussion started by: zainravi
6 Replies
5. Shell Programming and Scripting
i would need some help in setting the value of a variable (TIME_NOW) depending on the time of the day ...e.g.
if today's date is 12th April 2009 and if the current time is between midnight and 16:59:59 hrs then the TIME_NOW should be yesterday's date i.e. TIME_NOW=11
else if the current time... (3 Replies)
Discussion started by: zainravi
3 Replies
6. UNIX for Dummies Questions & Answers
Hi, I'm a newbie to unix. I have a txt file with my data, a list of events. Each event comes with a unix time. I want to seperate a months worth of events into those that occur during the day, and those at night. I have no clue how to go about this, please can someone push me in the right... (6 Replies)
Discussion started by: pmasterkim
6 Replies
7. Shell Programming and Scripting
Does anyone know of a way to convert "seconds" to time of day in "hh:mm:ss" ?
Trying to do in awk with strftime but with no luck.
Thanks (2 Replies)
Discussion started by: timj123
2 Replies
8. AIX
Hi guys,
OS: AIX 5.3.0.0
I'm from Portugal and I had problems about Day Light changing time, the hour's changes in first Sunday of November, but it's wrong because in Europe the day light need to change in last Sunday of October. My TZ is
TZ=GMT0BST, that I think BST it's British Summer Time. I... (2 Replies)
Discussion started by: uadm26
2 Replies
9. Shell Programming and Scripting
Our system has an option to supply your timezone in area of world you want to keep time for user transactions and such.
It keeps time zone for user in database as for example -5 for EST.
The problem is we are in EDT -4 (daylight savings time) so the time is displayed wrong.
We can put the... (2 Replies)
Discussion started by: photon
2 Replies