X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=misc.php;h=528053c759bec7646c683c87904b51f08cfb0173;hp=cdaf2a1b321619bce98e8e0be5eca688d3a01ece;hb=15459c86d0996ab3037b1738a8be6efd378c1258;hpb=b45e6d51148bf9100d302713d3f8e6885fd072a3 diff --git a/misc.php b/misc.php index cdaf2a1..528053c 100644 --- a/misc.php +++ b/misc.php @@ -127,6 +127,14 @@ function today_ymd() { return strftime('%Y-%m-%d'); } +function now_yyyymmdd() { + return strftime('%Y-%m-%d'); +} + +function now_yyyymmddhhmmss() { + return strftime('%Y-%m-%d %H:%M:%S'); +} + function get_text_between($text, $start_text, $end_text) { $start = strpos($text, $start_text);