cs_get_current_chunk { time " " }What it does:
Returns the beginning of the clickstreaming chunk containing $time (or ns_time of $time is not set).Defined in: /web/philip/tcl/1-cs-defs.tcl
Source code:
if { $time == "" } { set time [ns_time] } set seconds [ns_fmttime $time "%S"] set minutes [ns_fmttime $time "%M"] ns_log "Notice" "cs_get_current_chunk: time is $time; seconds is $seconds; minutes is $minutes" return [expr { $time - $seconds - $minutes * 60 }]