proctk Posted March 8, 2008 Share Posted March 8, 2008 Hi I need script that will convert a number say 03 to the month name in this case March. Thank you Quote Link to comment Share on other sites More sharing options...
SkullzY88 Posted March 8, 2008 Share Posted March 8, 2008 date(); view -> http://uk.php.net/manual/en/function.date.php Quote Link to comment Share on other sites More sharing options...
amites Posted March 8, 2008 Share Posted March 8, 2008 ya beat me to it, take a look at the examples on that page, what you're looking for is fairly simple Quote Link to comment Share on other sites More sharing options...
tippy_102 Posted March 8, 2008 Share Posted March 8, 2008 <?PHP $MonthNumber = 03; echo date("F", mktime(0, 0, 0, $MonthNumber, 1, 2000)); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.