04-26-2012
hi bala,
thanks for your quick reply...
if my variable is $date then how to use this... i am beginner in perl. pls help
---------- Post updated at 02:53 AM ---------- Previous update was at 02:52 AM ----------
and this only validates for year 2012 or can i also use 1998 or something like?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to know how I could get a yesterday date in yyyymmdd e.g. today is 20011109, and I would like to get 20011108. Thank you!:confused: (2 Replies)
Discussion started by: hk_newbie
2 Replies
2. HP-UX
How can i get the yesterday's date in YYYYMMDD format??? (4 Replies)
Discussion started by: prasadsr
4 Replies
3. UNIX for Dummies Questions & Answers
I have a file with some date columns in MM/DD/YYYY format:
SMPBR|DUP-DO NOT USE|NEW YORK||16105|BA5270715|6/6/2007 |MWERNER|109||||JOHN||SMITH|MD|72211118||||||74559|21 WILMINGTON RD||D|11/6/2003|SL# MD CONTACT-LIZ RICHARDS|||0|Y|N||1411458|
And I want to convert the date format to:
... (5 Replies)
Discussion started by: ChicagoBlues
5 Replies
4. Shell Programming and Scripting
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. (8 Replies)
Discussion started by: nasirgondal
8 Replies
5. Shell Programming and Scripting
Hi All,
I am learning PERL for one of the projects, and in one of these scripts, I read a flat text file and print in the terminal.
The problem is, the text file has a date field. The format is yyyymmdd. I need to display this as dd-mon-yyyy.
Any ideas to do this? Thanks a lot for the... (9 Replies)
Discussion started by: guruparan18
9 Replies
6. Shell Programming and Scripting
How do I change the date format from mmddyyyy to yyyymmdd in PERL.
Can any one help me please. (3 Replies)
Discussion started by: thankful123
3 Replies
7. Solaris
Hi Experts,
How to get date 5 days after current date in YYYYMMDD format?
How do we compare date in YYYYMMDD format?
Thanks (1 Reply)
Discussion started by: needyourhelp10
1 Replies
8. Shell Programming and Scripting
Hello Experts,
How do i get date after 5 days from current date in YYYYMMDD format?
How do you compare date in YYYYMMDD format?
Thanks (8 Replies)
Discussion started by: needyourhelp10
8 Replies
9. Shell Programming and Scripting
My requirement is:- there will be files at a location each day with the date format DDMMYYYY.
Novawise_Activity_Call_Notes_04022013.txt
Novawise_Activity_Inbound_04022013.txt
Novawise_Activity_Inbound_05022013.txt
Novawise_Activity_Call_Notes_05022013.txt... (8 Replies)
Discussion started by: djrulz123
8 Replies
10. Programming
Hi All,
I have line
,A,FDRM0002,12/21/2017,,0.961751583,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
it contains date in mm/dd/yyyy format i want to change this to yyyymmdd format using perl.
Use code tags, thanks. (8 Replies)
Discussion started by: vishal0746
8 Replies
WMSUN(1) General Commands Manual WMSUN(1)
NAME
WMSUN - Dockable WindowMaker SunRise/SunSet App
SYNOPSIS
wmSun [-h] [-display <Display>] [-lat <Latitude>] [-lon <Longitude>] [-td <TimeDiff>] [-date <yyyymmdd>]
DESCRIPTION
wmSun displays the current day's Sun Rise and Set Times. You must enter your LAtitude and Longitude correctly for it to work.
OPTIONS
-h Display list of command-line options.
-display <display>
Use an alternate X Display.
-lat <Latitude>
Set latitude of observer.
-lon <Longitude>
Set longitude of observer.
-td <UT - LT>
Set the difference beteeen UT and LT. Useful when you want to show the Sunrise/Sunset at a remote lat/lon without resetting your
clock.
-date <yyyymmdd>
Set the date to show sunrise/sunset for.
EXAMPLES
wmSun -lon 106.3 -lat 35.9
this would display rise/set times at Los Alamos in local time.
wmSun -lat 19.58 -lon 155.92 -td 10
this would display rise/set times in Kona, Hawaii in local time (in winter -- you need to take into account daylight savings at
other times of the year).
BUGS
Who knows? (Let me know if you find any).
AUTHOR
Michael G. Henderson <mghenderson@lanl.gov>
5 January 1999 WMSUN(1)