10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I am trying to create a function with below requirements
1. It will take two parameters as Input. Date and Date format
2. Output will be in YYYYMMDD format.
Example 1:
Input: fn_date_reformatter('01-AUG-2014','DD-MON-YYYY')
Output: 20140801
Example 2:
Input:... (4 Replies)
Discussion started by: Anupam_Halder
4 Replies
2. Red Hat
helo
i want to show today date and calendar when v succesfuly login on the system on the linux server
please orovide the sol for the same
thanx :):):) (1 Reply)
Discussion started by: dodasajan
1 Replies
3. Shell Programming and Scripting
Hi guys!
I'll make this short... Is there any good way to get the day number that first matches the Monday column from the cal command output with awk (or any other text manipulator commands) ?
I'm sorry if my question wasn't clear at all.
For example...
One cal output would be
$... (6 Replies)
Discussion started by: Casey
6 Replies
4. Shell Programming and Scripting
I read man page for etc/shadow field..
on the 8th field, i assume that's the field to change account expire date.
my question is:
What value does the 8th field keep? i assume it's 13514 instead of "Date" value such as 11/10/08.
on the man page, it said: " expire value = 13514 = jan 1,... (11 Replies)
Discussion started by: c00kie88
11 Replies
5. Web Development
hi,
how can i can pass the value of unixformat to date/time? and how can i retrieve the day/month/year from a date?
thanks a lot for your help
ps:i using php (1 Reply)
Discussion started by: jasonx22
1 Replies
6. Shell Programming and Scripting
Hi,
My file format is:
E102,0,21-04-2007,0,2/25/1994,E003,A,125400,10450,60.2884620
E103,0,21/04/2007,0,2/2/1996,E003,A,125400,10450,60.2884620
E104,0,04/21/2007,0,2/2/1996,E003,A,125400,10450,60.2884620
E105,0,21-APR-2007,0,2/2/1996,E003,A,125400,10450,60.2884620... (1 Reply)
Discussion started by: charandevu
1 Replies
7. Shell Programming and Scripting
Hi,
My file format is:
E102,0,21-04-2007,0,2/25/1994,E003,A,125400,10450,60.2884620
E103,0,21/04/2007,0,2/2/1996,E003,A,125400,10450,60.2884620
E104,0,04/21/2007,0,2/2/1996,E003,A,125400,10450,60.2884620
E105,0,21-APR-2007,0,2/2/1996,E003,A,125400,10450,60.2884620... (1 Reply)
Discussion started by: charandevu
1 Replies
8. Shell Programming and Scripting
Hi,
I am getting some very strange output when using date function in PERL on Solaris.
Infact the month portion is wrong and it is 1 less then the current, means today it is responding as
month =3 , andthis should be 4 ------> April
Any help
my code is
($day, $month, $year) =... (3 Replies)
Discussion started by: Asteroid
3 Replies
9. Shell Programming and Scripting
hi,
I have to ftp previous days file from a directory to another location. The name of the files are like "xxx20060225" (yyyymmdd format)
"xxx20060226"
ls -lrt xxx*| tail -2| head -1 will give me the file, but if i could get anything... (2 Replies)
Discussion started by: abey
2 Replies
10. UNIX for Dummies Questions & Answers
hi guys!
just want to ask if you could help me with the sript i'm working on. i need to automatically generate a summarized report everyday for all transactions the day before and ftp it to another machine. my only problem is that i need to name the file as the date yesterday. for example if i... (12 Replies)
Discussion started by: crpalermo
12 Replies