As the name suggests it is specially made to work with Dates but since it uses SimpleDateFormat so you can also work with Time by using appropriate format.
Latest Version: 6.1
Last Updated: July 20, 2020 9:37 AM
image337×512 18.7 KB
It has 22 function blocks and 1 event block
It has not so much coplex blocks but some examples can help you to understand its usage.
Returns day of given date.
Note: You can also use DateTime besides Date
Returns difference between two dates or datetime in milliseconds.
Returns true if first date is after second date else false
Returns true if first date is before second date else false
Returns true if both dates are same else false
Returns a list of available timezones
image893×333 23 KB
Converts epoch timestamp to date in the given date format in provided timezone
Returns device’s current date and time
Returns current date and time in raw format
Returns current epoch timestamp
Display name of current timezone
Returns ID of current timezone
image713×253 13.5 KB
Converts millis in y d m s format
Converts epoch timestamp to date and time
Difference between two epoch timestamps in y d m s format
Returns offset of current timezone
Converts rawoffset(int) to offset
image874×200 14.9 KB
Gets offset from timezone id
Returns true if local datetime is in day light savings
image755×205 10.6 KB
Returns a list of available timezones in given offset
Returns DST savings of current timezone in milliseconds
Requests to NTP server to get online date time in milliseconds and raises event ‘GotOnlineDateTime’ with epoch timestamp and response.
If you like my work then you can download the aix from the shortened link given below.
Download Link 3: http://raboninco.com/21784285/datetools-aix
Some new blocks have been added in Version 2 to make it easier to work with dates…
- Some minor changes
1.Fixed bug in ‘Difference’ block.
2.Some minor changes in existing blocks
Just one new block with its event handler:
- Some spelling fixes
- Replaced some old libraries with new libraries
- Some other minor changes
- Fixed bug in
- Fixed bug in
- Some internal changes
- Removed un-necessary NTP servers from list