Isoss Posted July 3, 2006 Share Posted July 3, 2006 I need to get digit between 1 - 9 be displayed without the 0 on the left. How can I do it?Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/13531-dated-m-y-outputs-03-07-2006-how-can-i-make-it-output-3-7-2006/ Share on other sites More sharing options...
Chips Posted July 3, 2006 Share Posted July 3, 2006 www.php.net - date function:n - Numeric representation of a month, without leading zeros 1 through 12 j Day of the month without leading zeros 1 to 31 link:http://uk.php.net/manual/en/function.date.phpdate("j,n,Y"); would give d, m, yyyy A lil bit of research Quote Link to comment https://forums.phpfreaks.com/topic/13531-dated-m-y-outputs-03-07-2006-how-can-i-make-it-output-3-7-2006/#findComment-52393 Share on other sites More sharing options...
Isoss Posted July 8, 2006 Author Share Posted July 8, 2006 Thanks a lot ... actually I searched but couldn't find anything like that! maybe I just missed it. Thanks again! Quote Link to comment https://forums.phpfreaks.com/topic/13531-dated-m-y-outputs-03-07-2006-how-can-i-make-it-output-3-7-2006/#findComment-54963 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.