Julian date as a Date/Timestamp

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
3 posts Page 1 of 1

ChrisIT

Posts: 2
Joined: Thu May 30, 2013 9:57 am

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

Support_Rick

Support Specialist
Posts: 592
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Wed Jul 02, 2014 2:39 pm
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
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

ChrisIT

Posts: 2
Joined: Thu May 30, 2013 9:57 am

Post by ChrisIT » Wed Jul 02, 2014 3:17 pm
It worked great! Thanks for the quick response!
3 posts Page 1 of 1