Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Is there any way to transform a date (dd/mm/yy) into Julian format. I couldn’t find a specific format mask for this in the developer guide. Is there any specific format mask, that will help me in doing this or do I need to write a transformer service to do so.
Any help can be appreciated.
Use the dateTimeFormat with current pattern set to dd/MM/yy what you have and new pattern set to 1yyDDD.
This method is limited, it assumes the Julian date will always begin with a 1. This is not always true. For instance; if I run 12/15/1956, I get the same result as when I run 12/15/2056. Intelligence must be added to sense the century to get accuracy across centuries. We had to write a simple service to do this.