xo::ical proc clock_to_oacstime (public)

 xo::ical[i] clock_to_oacstime seconds

Defined in packages/xotcl-core/tcl/01-debug-procs.tcl

Convert clock epoch (result from [clock seconds]) into time format usually used in OpenACS.

Parameters:
seconds (required, integer)

Testcases:
No testcase defined.
Source code:
#
# Convert clock epoch (result from [clock seconds]) into time
# format usually used in OpenACS.
#
clock format $seconds -format "%Y-%m-%d %H:%M"
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: