Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
date decimal back to date
#6
This example converts day 100 to YYMMDD string and uses current year for YY part.

Code:
Copy      Help
int i=100

DATE d=_s.time("%Y.01.01") ;;beginning of this year
d=d+i
;out d
str s
s.time(d "yyMMdd")
out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)