Table of Contents |
---|
Date, Time,
...
Time Add and Subtract,
...
and
...
Time Conversion Blocks
These are the various date and time related blocks available in the Time group of the block library:
- date: grabs extracts just the date part portion of a date time value
- dateTimeAdd: add adds a duration (hrs, mins, or secs) from a dateTime
- dateTimeSub: substract a subtracts a duration (hrs, mins, or secs) from a dateTime
- dateToNumber: converts the date into a number
- dateToString: converts a part of date into a string
- dtToDtAdd: add adds one dateTime to another dateTime; results in a duration of minutes or seconds
- dtToDtSub: subtract subtracts one dateTime from another dateTime; results in a duration of minutes or seconds
- now: get gets the current dateTime for the host
- siteDateTime: get gets the current date and time for the site associated with the target Ref of the bline program
- time: extracts just the time part portion of a date time value
- timeToMinutes: converts a time value to a number of minutes
- timeToTimeAdd: add adds one time to another time; results in a duration of minutes or seconds
- timeToTimeSub: subracts one time from another time; results in a duration of minutes or seconds
...
The Blocks can be found in the Block Library in the Time group.
Date
...
All the date & time blocks accept only one parameter, but some have an extra option hidden inside them. The user can reach that by clicking on the block.
...
and Time Blocks
These four blocks provide or extract a value of time or dateTime, depending on your usage and need.
date: extracts just the date portion of a date time value
time: extracts just the time portion of a date time value
now: gets the current date and time from the host PC where the program is running
siteDateTime: gets the current date and time for the site associated with the target Ref of the bline program
Using the Date/Time Block
...