Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 972 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

PHP Calendar Displaying Wrong Date

Thread title: PHP Calendar Displaying Wrong Date
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
03-28-2011, 05:51 AM
#3
mjwalsh is offline mjwalsh
mjwalsh's Avatar
Status: I love this place
Join date: Dec 2007
Location:
Expertise: Programming - Sys Admin
Software: Dreamweaver - Notepad++
 
Posts: 638
iTrader: 14 / 100%
 

mjwalsh is on a distinguished road

  Old

Both n and m would be a proper response to what it's used for. Inside mktime it needs a value 1-12 for the depending month, n displays the month without a 0 if the value is less than 10, m uses a zero. IE: m would echo 03 whereas n would just echo 3.

Reply With Quote
     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed