FutureProg functions

spanabs

DateTime · computer function, computer program, standard futureprog

TimeSpan spanabs(TimeSpan timespan)
Contexts: computer function, computer program, standard futureprog
Returns the absolute value of the supplied TimeSpan. Unrepresentable values return a zero TimeSpan.
timespan: The TimeSpan value to inspect or transform

← Back to FutureProg functions