JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
clean up my urls
[wfpl.git] / misc.php
index cdaf2a1..528053c 100644 (file)
--- 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);