Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

date function

Posted on 2006-06-15
1
Medium Priority
?
173 Views
Last Modified: 2008-02-20
hi, what wrong with my date() function?

echo date(d-m-y);

thank!
0
Comment
Question by:php_wannabe
1 Comment
 

Accepted Solution

by:
276343 earned 500 total points
ID: 16916223
try

echo date('d-m-y');
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question