change-of-second
date-time →
change-of-second() → date-time
returns a temporal value corresponding to the same instant of the argument value but with a new value for the second part.
Parameters
This function has no parameters.
Examples
#"2024-01-15 12:30:45" | change-of-second(10) → #"2024-01-15 12:30:10"
Kind: Function
Scope: temporal
Aliases: dateTime-to-change-of-second