view interps/cfunge/cfunge-src/src/fingerprints/DATE.spec @ 12518:2d8fe55c6e65 draft default tip

<int-e> learn The password of the month is release incident pilot.
author HackEso <hackeso@esolangs.org>
date Sun, 03 Nov 2024 00:31:02 +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