|
TNTmips Downloads Menu

|
daysfromjulian.sml
# get the number of days since the new year
numeric day = 20;
numeric mon = 4;
numeric year = 1996;
numeric formatted = year*10000 + mon*100 + day;
numeric jan1 = DateToJulian(year*10000 + 0101);
numeric sample = DateToJulian(formatted);
numeric days = sample - jan1 + 1;
print (days);
©MicroImages, Inc. 2013 Published in the United States of America
11th Floor - Sharp Tower, 206 South 13th Street, Lincoln NE 68508-2010 USA
Business & Sales: (402)477-9554 Support: (402)477-9562 Fax: (402)477-9559
Business info@microimages.com
Support support@microimages.com
Web webmaster@microimages.com
| |