Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

Tintware Documentation : Tint Programming Language : Tint Reference : Date and Time Primitives : tint.date-add

Syntax

#(tint.date-add,%seconds,%seperator,%year)
#(tint.date-add,%n,%seperator,%year,%month)
#(tint.date-add,%n,%seperator,%year,%month,%day)
#(tint.date-add,%n,%seperator,%year,%month,%day,%hours)
#(tint.date-add,%n,%seperator,%year,%month,%day,%hours,%minutes)
#(tint.date-add,%n,%seperator,%year,%month,%day,%hours,%minutes,%seconds)

%n is the number of seconds to be added to the date specified; it must be a number. %seperator is a value to place between the resulting fields. %year specifies the year as a number starting from 1900. %month specifies the month as a number between 1 and 12. %day specifies the day as a number between 1 and 31. %hours specifies the number of hours as a number between 0 and 23. %minutes specifies the number of minutes as a number between 0 and 59. %seconds specifies the number of seconds as a number between 0 and 59. The result is date and time in the same format as that returned by tint.current-date.

Example

#(tint.date-add,#(*,60,60,24), ,#(tint.current-date,(,)))
   
101 11 26 15 42 6