Returns the second from a SAS time or datetime value.
is a numeric constant, variable, or expression with a value that represents a SAS time value.
is a numeric constant, variable, or expression with a value that represents a SAS datetime value.
time='3:19:24't; s=second(time); put s;
24
time='6:25:65't; s=second(time); put s;
5
time='3:19:60't; s=second(time); put s;
0