Page 1 of 1

Julian date as a Date/Timestamp

Posted: Wed Jul 02, 2014 2:19 pm
by ChrisIT
How do I create a date/timestamp where the output is the date in the Julian format? THANKS! Chris

Re: Julian date as a Date/Timestamp

Posted: Wed Jul 02, 2014 2:39 pm
by Support_Rick
Chris,

This can be done a couple ways...
Code: Select all
<setVariable label="Set JulDate"      name="JulDate"      value="${ CurrentDate( 'yyDDD' ) }"     version="1.0" />
... will give you the current date in Julian Format.
Code: Select all
<timestamp version="1.0">
	<format outputVariable="JulDate" pattern="yyDDD" dayOfMonth="+14" />
</timestamp>
... will give you the date of today plus 14 days in Julian Format

Re: Julian date as a Date/Timestamp

Posted: Wed Jul 02, 2014 3:17 pm
by ChrisIT
It worked great! Thanks for the quick response!