10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi All,
I have a CSV file which is as below. Basically I need to take the year column in it and find if the year is >= 20152 . If that is then I should subtract all values by 6. In the below example in description I am having number mentioned as YYWW so I need to subtract those by -5. Whereever... (8 Replies)
Discussion started by: arunkumar_mca
8 Replies
2. Shell Programming and Scripting
how do i change the following to show me what the date was 7 days ago?
date +%Y-%m-%d (1 Reply)
Discussion started by: SkySmart
1 Replies
3. Shell Programming and Scripting
How can i make the date command output yesterday's date, current date and the date 4 days ago, in the following format:
2012-10-03
code:
date +% ???? (3 Replies)
Discussion started by: SkySmart
3 Replies
4. Shell Programming and Scripting
the following was taken from a perl script:
my $date = strftime "%B %d %H:%M:%S", localtime;
how can i modify it so this date outputs the date in the form of the date of the messages file. for example:
Sep 20 11:48:44
As it is right now, the perl script outputs the date like this:
... (1 Reply)
Discussion started by: SkySmart
1 Replies
5. Shell Programming and Scripting
How to change a date stored in a variable to YYYYMMDD.
Variable output is in DD-MON-YY,required format is 'YYYYMMDD'
Thanks,
Sud (1 Reply)
Discussion started by: sud
1 Replies
6. Shell Programming and Scripting
Hi, I have a column in a table of Timestamp datatype. For Example : Var1 is the column 2008-06-26-10.10.30.2006. I have Given query as date(var1) and time (var1) I got the file as in the below format :
File1:
Col1 Col2
2008-06-02|12.36.06
2008-06-01|23.36.35
But the problem is... (7 Replies)
Discussion started by: manneni prakash
7 Replies
7. Linux
Hi,
I want to create one user who has right to change the date in linux, (1 Reply)
Discussion started by: manoj.solaris
1 Replies
8. UNIX for Dummies Questions & Answers
Dear Expert,
Is there a command to do that in Unix?
In such a way that we don't need to actually "write" or
modified the content.
-- monkfan (4 Replies)
Discussion started by: monkfan
4 Replies
9. Post Here to Contact Site Administrators and Moderators
In my shell script i have a variable which stores date in the format of YYYYMMDD. Is there any way to format this value to MM/DD/YYYY.
Thanks. (1 Reply)
Discussion started by: nasirgondal
1 Replies
10. Shell Programming and Scripting
Hi,
Is there any way to change one date format to another ?? I mean I have a file having dates in the format (Thu Sep 29 2005) ... and i wud like to change these to YYYYMMDD format .. is there any command which does so ?? Or anything like enum which we have in C ??
Thanks in advance,
... (5 Replies)
Discussion started by: Sabari Nath S
5 Replies