need a php line help
2015-10-02, 01:24 AM,
#1
Can anyone tell me whats the php code to have on website something like this

"Updated: Today's day/month/year"

Thank you
Reply
2015-10-02, 02:11 AM,
#2
PHP Code:
<?= 'Updated: ' date('d/m/Y'); ?>
Reply
2015-10-02, 11:08 AM,
#3
Use capital "M" to get month as "Sep".

We're in a time where all enterprises fall
We should beware of the wolves that haunt us
They are not all the same, cannot take the blame
Await the time to unchain utopia
Reply
2015-10-02, 11:19 AM,
#4
I've Google searched it and it only took 10 seconds to find the answer. I bet you didn't even try to search it up. The search terms I used were "php today's date" really that simple man. Please do some research before you post...
Latest Thanks - View all

PRELIATOR(2015-10-02 11:52 AM) 
Reply
2015-10-02, 11:52 AM,
#5
(2015-10-02, 11:19 AM)LordPanda Wrote: I've Google searched it and it only took 10 seconds to find the answer. I bet you didn't even try to search it up. The search terms I used were "php today's date" really that simple man. Please do some research before you post...

1000% true :D :D :D

We're in a time where all enterprises fall
We should beware of the wolves that haunt us
They are not all the same, cannot take the blame
Await the time to unchain utopia
Reply
2015-10-02, 09:29 PM,
#6
(2015-10-02, 11:19 AM)LordPanda Wrote: I've Google searched it and it only took 10 seconds to find the answer. I bet you didn't even try to search it up. The search terms I used were "php today's date" really that simple man. Please do some research before you post...

I bet I was at work on my mobile and decided to ask here to have an answer when back home , because yeah I dont sit at home all day long doing nothing !
Reply
2015-10-03, 09:42 PM,
#7
(2015-10-02, 09:29 PM)t0ks1ck Wrote:
(2015-10-02, 11:19 AM)LordPanda Wrote: I've Google searched it and it only took 10 seconds to find the answer. I bet you didn't even try to search it up. The search terms I used were "php today's date" really that simple man. Please do some research before you post...

I bet I was at work on my mobile and decided to ask here to have an answer when back home , because yeah I dont sit at home all day long doing nothing !

It's not a sin to want to save a little time :)

PHP Code:
<?php
$dt 
= new DateTime();
echo 
$dt->format('d-m-y H:i:s');
?>

Will show output like this:
03-10-15 10:10:12

Hope that helps :)

~MoneyCashers

Even if you don't believe in yourself... I will. :)

[Image: banner3.jpg]
Reply
2015-10-04, 05:41 AM,
#8
(2015-10-02, 09:29 PM)t0ks1ck Wrote:
(2015-10-02, 11:19 AM)LordPanda Wrote: I've Google searched it and it only took 10 seconds to find the answer. I bet you didn't even try to search it up. The search terms I used were "php today's date" really that simple man. Please do some research before you post...

I bet I was at work on my mobile and decided to ask here to have an answer when back home , because yeah I dont sit at home all day long doing nothing !

Since when can't you look up these things on a mobile phone? I clearly don't understand the internet forgive me....
Latest Thanks - View all

styx(2016-09-08 09:00 PM) 
Reply
2016-09-08, 09:01 PM,
(This post was last modified: 2016-09-08, 09:03 PM by styx.)
#9
lol yea running a google query from a mobile is hard with all those complicated android search bar apps that you have to type your search term in (or use voice recognition) and wait.. lets login to a forum, find the proper sub-forum and post a request there explaining what i need, then wait for a reply. that probably takes less time then searching on google.. </sarcasm>

♚♚♚ ARGO CONTENT GENERATOR ♚♚♚
The Leading SEO Website/WP AutoBlog/PBN Generator!

☆ ☆ ☆ https://argo-content.com ☆ ☆ ☆

SUMMER SALE! GET 20% OFF (SAVE +$50) WITH CODE: SSPCL2017
(FOR A LIMITED TIME ONLY!)
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help Needed CPAgrip php script takumi 4 797 2017-01-24, 04:47 AM
Last Post: takumi
  SOME DATA IS NOT BEING INSERTED TO MYSQL DATABASE WITH PHP QwertySon 2 1,138 2016-11-21, 02:52 PM
Last Post: QwertySon
  php + mysql , I need help t0ks1ck 4 1,037 2016-09-19, 01:55 AM
Last Post: styx
  Looking for php - Coder tbonemaker 0 595 2016-02-29, 10:20 PM
Last Post: tbonemaker
  PHP Expert Help Please rajabadariqbal 5 737 2015-09-14, 11:44 AM
Last Post: rajabadariqbal




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top