I have a problem formatting date in php. Can anyone help me with it?
Thank you
I have a problem formatting date in php. Can anyone help me with it?
Thank you
Try this, it should work for displaying date format in php...
Thanks!PHP Code:<?php
print date("l, F jS Y");
?>
Micro Niche Builder - Build SEO Friendly Sites that CONVERT LIKE CRAZY for Adsense, Amazon, Clickbank, & CPA Offers!
SEO Contest - Home of the WORLD FAMOUS Search Engine Optimization Contests. Think you got what it takes?
You should explain your problem properly. Which format do you want to print?
You can use date function to print date
date('Y-m-d')
there are many formats but which do you want?
where is your problem there? you should specify first your problem, not in general problem.
you need to tell what format you want, then i will give you exact code to format the date as per ur needs.
Bookmarks