X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=misc.php;h=2d90ada5852a931091447d747c645e04ab9b5f58;hb=dc64f82dd3b94799b472de3a092596580a90f6fe;hp=abe5c28bd83b54ff3295d28167be54428688e577;hpb=2eab32b23556a89b3190e208b88c1fd3bec4eb4d;p=wfpl.git diff --git a/misc.php b/misc.php index abe5c28..2d90ada 100644 --- a/misc.php +++ b/misc.php @@ -22,7 +22,7 @@ function this_year() { # return the number of the current month (1..12) function this_month() { - return strftime('%m'); + return ereg_replace('^0', '', strftime('%m')); }