ec_date_with_time_stripped the_dateWhat it does:
Removes the time part of the date stamp (useful when using util_AnsiDatetoPrettyDate)Defined in: /web/philip/tcl/ecommerce-utilities.tcl
Source code:
if { [regexp {[^\ ]+} $the_date stripped_date ] } {
return $stripped_date
} else {
# if the date isn't formatted like YYYY-MM-DD HH:MI:SS, then just return what we got in
return $the_date
}