server monitoring


+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2011
    Posts
    8

    Date and time by PHP

    Date and time by PHP

    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?




    Code:
    <?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));
        ?>
    [url=http://www.waytovietnam.com]Vietnam travel[/url]-[url=http://www.thailandtoursbooking.com]Thailand tours[/url]-[url=http://www.hotelincanes-france.com]Canes Hotels[/url]

  2. #2
    Join Date
    Jun 2012
    Posts
    0
    you can enter in string form

  3. #3
    Join Date
    Jun 2012
    Posts
    53
    I have no idea about php if you have any knowledge tell me.

  4. #4
    Join Date
    Jul 2012
    Location
    Pakistan
    Posts
    2
    i know some php but i am not like php

  5. #5
    Join Date
    Aug 2012
    Posts
    10
    I think PHP is a server side language. It does not have any UI so that user could pick date. You have to use javascript libraries like jquery.
    [URL="http://www.openxcell.com/internet-technologies/open-source-ecommerce/magento-development-india/hire-magento-developer.html"]Magento Web Developer[/URL] | [URL="http://www.openxcell.com/internet-technologies/open-source-ecommerce/magento-development-india.html"]Magento Development India[/URL] | [URL="http://www.openxcell.com/magento-seo-services.html"]Magento Seo Services[/URL]

  6. #6
    Join Date
    Aug 2012
    Posts
    1

    Date and time by PHP

    Dates are so much part of everyday life that it becomes easy to work with them without thinking. PHP also provides powerful tools for date arithmetic that make manipulating dates easy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts