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)
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)
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)
Hi ,
i have doubt in bash shell script..
for example my file name is sampledate.sh
given command = ./sampledate.sh -d 20100303 -f karthi
how to find the next day from 20100303 (YYYYMMDD format)
After getting the next day ,changed date and -f argument value will be sent to one java class.
... (13 Replies)
Hi all,
i had a code where in user will enter a date in yyyymmdd format.. i didnt use any validation for the date and now the problem is if a user enters date instead of month after year it is proceeding with the code..
like if the date is 20120426 and if the user enters 20122604 it... (4 Replies)
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)
I would like to convert YYYYMMDD to MJD format
for eg 20041223 converted to 53362 in MJD format i got logic from javascript to covert it to MJD which is long enough
function YMDtoMJD (year, month, day)
{
var year;
var monthi
var day;
var yr = Math.floor (year);
... (1 Reply)
Discussion started by: mandalmanas24
1 Replies
LEARN ABOUT SUSE
wmsun
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)