Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Date off-set script not working....


  • Please log in to reply
No replies to this topic
kunkel321
  • Members
  • 3 posts
  • Last active: Dec 29 2015 10:24 PM
  • Joined: 16 May 2009

Hi All,

Noob here (obviously)

::=ddd2::
   OffSet =      OffSet += -2,  days 
FormatTime, MyDate, %OffSet%, M/d/yyyy
Send, %MyDate%
return

When activated, this script types out today's date.  But shouldn't it type out the date of two days ago?  

 

EDIT:   Okay my bad...  

Apparently each line of code has to be on its OWN LINE!  ;-)