SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: time & date format convert
-
Nov 23, 2006, 09:35 #1
- Join Date
- Nov 2006
- Posts
- 17
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
time & date format convert
I want to store dates and times in a number format. Like November = 11 and 1:30 = 0130. Is there a function that will help me convert say 11 to November or Nov.
-
Nov 23, 2006, 10:01 #2
- Join Date
- Jul 2006
- Location
- jhb, south africa
- Posts
- 23
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
say $date is the date you want to format
PHP Code:$formatted = date("d m Y", strtotime($date));
Bookmarks