aboutsummaryrefslogtreecommitdiff
path: root/GradeBook_lib.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-xGradeBook_lib.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index 68b74cc..3b5edfb 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -326,6 +326,10 @@ proc dbg {msg {category msg_level_critical}} {
}
}
+proc timestamp { } {
+ return [clock format [clock seconds] -format "%Y-%m-%dT%H:%M:%S"]
+}
+
proc ColName2SqlSafeForm {colname} {
set bad_symbols [list {\}} {\{} {\\} {\'} {\"} {\]} {\[} ]
foreach bs $bad_symbols {