This adds Date and Time functions to Stencyl.
The Blocks
-Get Current Date: Gets the current date and time in the YYYY-MM-DD HH-MM-SS format. This returns a piece of text.
-Get Current Timestamp: Gets the current date's timestamp
-Get Current [year/month/day of the month/day of the week/hour/minute/second]: Gets the current aspect of the date.
-Get [year/month/day of the month/day of the week/hour/minute/second] using timestamp (number): Gets a certain aspect of the date using the given timestamp.
-Get Days in Month from Year: Get the number of days in a month during a year that you specify.
-Convert (number) milliseconds to [second/minute/hour/day]:
This extension works on all of Stencyl's platforms.
Changelog:
1.4
-Added three new blocks (timestamp operations, conversions)
1.3.2
-Updated help website
1.3.1
-Fixed the newly added block
1.3
-Added the "get days in month" block
1.2
-Block text converted to lowercase
1.1
-Combined the blocks
1.0
-Initial release