(datetime.tal) Added day of the year

This commit is contained in:
Devine Lu Linvega 2023-04-16 14:51:00 -07:00
parent 04c6472819
commit 5e927cdfde
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,10 @@
[ LIT2 00 -DateTime/second ] DEI pdec-pad [ LIT2 00 -DateTime/second ] DEI pdec-pad
#0a18 DEO #0a18 DEO
( doty )
;dict/doty pstr
.DateTime/doty DEI2 pdec
[ LIT2 0a ". ] #18 DEO #18 DEO
#800f DEO #800f DEO
BRK BRK
@ -82,4 +86,5 @@ JMP2r
@dict @dict
&date "The 20 "date 20 "is: 20 $1 &date "The 20 "date 20 "is: 20 $1
&time "The 20 "time 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