HOME  -    PROPERTY ADS   -   DISCUSSION FORUM   -   REALTORS   -   LINKS    -   CONTACT US



Realtors and Real Estate Agents - Sign Up for Free Account at Property.net.my >>


Malaysia Real Estate
Malaysia Real Estate Portal
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PHP date time.

 
Post new topic   Reply to topic    Malaysia Real Estate Forum Index -> Comments and Suggestion
View previous topic :: View next topic  
Author Message
Solushunz



Joined: 17 Aug 2010
Posts: 1
Location: India

PostPosted: Sat Jun 25, 2011 7:40 pm    Post subject: PHP date time. Reply with quote

i am new in php but i have created the below code on my webpage to show the date, but its not working.
i want to see a simple format of date and time.want to know why?


<?php
date_default_timezone_set('UTC');
echo date("l");
echo date('l jS \of F Y h:i:s A');
echo "July 1, 2000 is on a " . date("l", mktime(0, 0, 0, 7, 1, 2000));
echo date("DATE");
echo date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000));
?>

.://..solushunz.in
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Malaysia Real Estate Forum Index -> Comments and Suggestion All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



This is a free forum intended to foster communication between all users.
Hileytech Sdn Bhd does not guarantee the correctness or validity of postings, nor does Hileytech endorse any postings. No posting or contents in this forum can be copied and reproduced without prior permission from Hileytech and the owner of the posting. All other names and marks are trade names, trademarks or registered trademarks of their respective owners.
Powered by phpBB, Another web site by www.hileytech.com,Forum Archive
Tel : +603-89449965, +603.89449365 ::  Fax : +603-89440665 :: hiley@hileytech.com