nstcl  >  Documentation  >  nstcl-time  >  start_of_day

Tcl Powered!

start_of_day

NAME

start_of_day — Returns the timestamp of the start of a day

SYNOPSIS

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

::nstcl::start_of_day date

DESCRIPTION

Returns first 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