A step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.
A C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.
This tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.
Creating a Rich Text Editor using JavaScript is easier to do than you might think, thanks to the support of modern browsers; this tutorial will walk you through it.
How to convert date to time and backThis tutorial show how to convert DATE to TIME and customize output |
On Wednesday, May 12th 2004 at 05:41 AM By Nabeel Akhtar (View Profile) ![]() ![]() ![]() ![]() (Rated 4.3 with 38 votes) |
||
|
MySQL spits out date in YYYY-MM-DD format. The following code will show how we can customize the output.
<?
<?
<?
This short tutorial was aimed to convert date to time and back to date in different formats. More information on PHP functions can be found at http://www.php.net |
|||
Digg It!
Del.icio.us
Reddit
StumbleIt
Newsvine
Furl
BlinkList
|
|||
|
|||
Current Commentsnice job... searched for an hour before i found this.
i was searching for date conversion in mysql for the last many days. your code is so simple, small and beautiful that i cant resist my urge to admire it. i am using it on my site http://www.punjabcolleges.com/. regards.
nice
<marquee>good</marquee>
good
http://www.thenoida.com
very nice, i am looking for that.....
http;//www.haryanatravels.com
Great!!!!!!!!!!!
http://www.webmakerindia.com
How do you convert an English dd/mm/yyyy to the American format?
Thanks very much very clear tutorial.
kudos! keep it up. <a href="http://www.punjabcolleges.com">Nursing Colleges in Punjab</a>
its wow tutorial
i am really happy to find this
sometimes small things becomes more bigger and when we helped out so we feel glad
thanx
its wow tutorial
i am really happy to find this
sometimes small things becomes more bigger and when we helped out so we feel glad
thanx
good work.
really impressive.
Thank's simple but effective
<a href="http://www.elancer.es">Trabajo Freelance</a>
.
Very good. Thank you!
really good...n it works in my project.good
i actually found a nicer solution here:
http://www.peeaitchpee.com/php/using-php-to-reformat-a-datetime-value-from-mysql/
the guy uses array functions to breakdown the datetime and it works perfectly
Thanks for this #1 :)
Thanx...! Nice and clean.
Thanks! Nice and clean and very helpful!
thanx
Thanx a lot for this, it saved me bulk of time...
Thanks, very hopeful!
<a href="http://burclar.in">Burçlar</a>
Related Tutorials
Related Source Code
PHP Job Search