Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
I'd suggest you ask your peers or the system support people if there is a date conversion/arithmetic routine avaliable on your system. Most system have some standard routine(s) so that everyone does not have to RYO (Roll Your Own).
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
Since this post is in CA Products, are you using Easytrieve Plus? If so you could use the DATECONV macro that comes with Easytrieve Plus to convert the current date from gregorian to julian. Or maybe DATECALC would fit your need.