All, Has anyone written an MPE script which calculates the week number of the year using the current day and HPDAY (or any other system variable)? For example, today would be the second week of the current year, since the first week ended on 1/4/03. Thanks in advance! Tony Gil Sr. Programmer Analyst Centis Inc. 205 S. Puente Street Brea, CA. 92821 v: 714-626-2406 f: 714-441-4536 e: [log in to unmask] <mailto:[log in to unmask]> * To join/leave the list, search archives, change list settings, * * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *