commit 5e927cdfdec4f451467f1439814538232e47d29d parent 04c647281986db79263d91cdf7b3c713e51235f0 Author: Devine Lu Linvega <aliceffekt@gmail.com> Date: Sun, 16 Apr 2023 14:51:00 -0700 (datetime.tal) Added day of the year Diffstat:
M | projects/examples/devices/datetime.tal | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/projects/examples/devices/datetime.tal b/projects/examples/devices/datetime.tal @@ -22,6 +22,10 @@ [ LIT2 00 -DateTime/second ] DEI pdec-pad #0a18 DEO + ( doty ) + ;dict/doty pstr + .DateTime/doty DEI2 pdec + [ LIT2 0a ". ] #18 DEO #18 DEO #800f DEO BRK @@ -82,4 +86,5 @@ JMP2r @dict &date "The 20 "date 20 "is: 20 $1 &time "The 20 "time 20 "is: 20 $1 + &doty "The 20 "day 20 "of 20 "the 20 "year 20 "is: 20 $1