view interps/cfunge/cfunge-src/src/fingerprints/DATE.spec @ 9071:581584df6d82

<fizzie> revert 942e964c81c1
author HackBot
date Sun, 25 Sep 2016 20:17:31 +0000
parents 859f9b4339e6
children
line wrap: on
line source

%fingerprint-spec 1.4
%fprint:DATE
%url:http://rcfunge98.com/rcsfingers.html#DATE
%desc:Date Functions
%condition:!defined(CFUN_NO_FLOATS)
%safe:true
%begin-instrs
#I Name              Desc
A  add_days          Add days to date
C  jdn_to_ymd        Convert Julian day to calendar date
D  day_diff          Days between dates
J  ymd_to_jdn        Calendar date to Julian day
T  year_day_to_full  Year/day-of-year to full date
W  week_day          Day of week (0=Monday)
Y  year_day          Day of year (0=Jan 1)
%end