Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • date: extracts just the date portion of a date time value
  • dateTimeAdd: adds a duration (hrs, mins, or secs) from to a dateTime
  • dateTimeSub: 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: adds one dateTime to another dateTime; results in a duration of minutes or seconds
  • dtToDtSub: subtracts one dateTime from another dateTime; results in a duration of minutes or seconds
  • now: gets the current dateTime for the host
  • siteDateTime: gets the current date and time for the site associated with the target Ref of the bline program
  • time: extracts just the time portion of a date time value
  • timeToMinutes: converts a time value to a number of minutes 
  • timeToTimeAdd: 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

...

siteDateTime: gets the current date and time for the site associated with the target Ref of the bline program

Time Add and Subtract Blocks

dateTimeAdd: adds a duration (days, hrs, mins, or secs) to a dateTime
Image Added

dateTimeSub: subtracts a duration (days, hrs, mins, or secs) from a dateTime
Image Added

dtToDtAdd: adds one dateTime to another dateTime; results in a duration of minutes or seconds. Note: This is not to be considered a traditional add function. Rather, the result is in fact an invert of a subtraction of the two inputs.  Meaning, if the difference is 30 minutes, then the result is written as -30 min. So it is actually subtracting the two inputs and then inverting the math sign of the result.
Image Added

dtToDtSub: subtracts one dateTime from another dateTime; results in a duration of minutes or seconds
Image Added
timeToTimeAdd: adds one time to another time; results in a duration of minutes or seconds. Note: This is not to be considered a traditional add function. Rather, the result is in fact an invert of a subtraction of the two inputs.  Meaning, if the difference is 30 minutes, then the result is written as -30 min. So it is actually subtracting the two inputs and then inverting the math sign of the result.

timeToTimeSub: subracts one time from another time; results in a duration of minutes or seconds

Time Conversion Blocks

dateToNumber: converts the date into a number

dateToString: converts a part of date into a string

timeToMinutes: converts a time value to a number of minutes 




The above screenshot represents several examples of the date/time block usage. 

...