nstcl  >  Documentation  >  nstcl-time  >  end_of_day

Tcl Powered!

end_of_day

NAME

end_of_day — Returns the timestamp of the end of a day

SYNOPSIS

package require nstcl-time ?1.0.1?
package require nstcl ?1.0?

::nstcl::end_of_day date

DESCRIPTION

Returns last second of date in the format of "YYYY-MM-DD 23:59:59". date can be in any form understood by [clock scan].

KEYWORDS

nstcl, time