Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f0496d
)
add: now_yyyymmdd(), now_yyyymmddhhmmss()
author
Jason Woofenden
<jason@jasonwoof.com>
Sun, 12 Jun 2011 08:55:28 +0000
(
04:55
-0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sun, 12 Jun 2011 08:55:44 +0000
(
04:55
-0400)
misc.php
patch
|
blob
|
history
diff --git
a/misc.php
b/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);