Date, PHP Web Programming

Assignment Help:

Returns the current date comprising date, month, & year. Note that the getMonth method returns 0 in December, 1 in January etc. thus add 1 to the getMonth method to display the correct date.

<HTML>

<BODY>

<SCRIPT LANGUAGE="JAVASCRIPT">

var d = new Date()

document.write("date = ")

document.write(d.getDate( )) document.write(".")

document.write(d.getMonth() + 1)

document.write(".")

document.write(d.getFullYear())

document.write("time = ")

document.write(d.getHours()) document.write(".")

document.write(d.getMinutes()  + 1)

 document.write(".")

document.write(d.getSeconds())

</SCRIPT>

</BODY>

</HTML>

406_Date.png

Figure:  Using the Date Object


Related Discussions:- Date

Php database hlelp, I am working in php basic learner want to know how to c...

I am working in php basic learner want to know how to connect database

I am in need of wordpress tweaks to existing custom plugins, I am in need o...

I am in need of Wordpress Tweaks to Existing Custom Plugins Was hoping you had some obtainable time today, about hours to work on tweaks to plugin functionally of existing Wordp

I desire php help for bilingual website, I desire PHP help for BILINGUAL WE...

I desire PHP help for BILINGUAL WEBSITE We are in desire of a bilingual website that will have an online store and information about the designer of the product. Our product is

I need a new full website development, I need a New Full Website Developmen...

I need a New Full Website Development - Product Search site I would like to setup a website that allows users to search for an item across designated retailers as well as return

We need help to make site similar as youtube, YouTube like video ads We ...

YouTube like video ads We have an current website for video hosting where users can upload the videos (just like a smaller version of YouTube) and its in PHP. We need to setu

I want you to build a small google script, 200-1019 Rapportive API Google D...

200-1019 Rapportive API Google Doc Script I want you to build a small Google script that can be run inside of a Google doc. The script will do the following: 1) Read an em

Implement wordpress design in my existing site, Implement wordpress design ...

Implement wordpress design in my existing site Project Description: Hello i want a design for my current website. This WordPress design require implement Skills requ

Web developer and possibly web designer needed, Web Developer and possibly ...

Web Developer and possibly web designer needed for a home swapping platform We are building web platform allowing students to swap their accommodation for a short-term period.

I need assistance support to update website information, I need assistance ...

I need assistance support to update Website information Update copy as well as pictures on existing website. Job description- I have a current website that I like. I simpl

Want help to create a shopping cart, Create a shopping cart I have an in...

Create a shopping cart I have an incomplete shopping cart. The preceding expert didn't finish the project. He has done 70% of the work as well as then sent it to me. I would lik

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd