Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
math with date
#2
Macro Macro1969
Code:
Copy      Help
DateTime d dNow

d.FromStr("2013-02-01")
d.AddParts(10) ;;add 10 days

dNow.FromComputerTime

if d>dNow
,out "d is in future"
else
,out "action"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)