Skip to content

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.
  • ChrisIT Offline
  • Posts: 2
  • Joined: Thu May 30, 2013 9:57 am

Julian date as a Date/Timestamp

Post by ChrisIT »

How do I create a date/timestamp where the output is the date in the Julian format? THANKS! Chris
  • Support_Rick Offline
  • Support Specialist
  • Posts: 590
  • Joined: Tue Jul 17, 2012 2:12 pm
  • Location: Phoenix, AZ
  • Contact:

Re: Julian date as a Date/Timestamp

Post 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
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
  • ChrisIT Offline
  • Posts: 2
  • Joined: Thu May 30, 2013 9:57 am

Re: Julian date as a Date/Timestamp

Post by ChrisIT »

It worked great! Thanks for the quick response!
Post Reply