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

Need help to revamp an existing website, Website Designing Need help to ...

Website Designing Need help to revamp an existing website Job description: Need to change the look of an existing website so that it can have greater hits Web developme

Looking for a facebook app developer to build facebook, Facebook app develo...

Facebook app developer Looking for a Facebook app developer to build Facebook Application but with some additional features and add-ons. The app developer wants experience in

We need help in event ticketing website built on wordpress, We need help in...

We need help in Event ticketing website built on Wordpress I work for an event promoter as well as we're looking to build our own ticketing site on the wordpress platform. De

Forms, Each of form in a document develops a form object. As a document can...

Each of form in a document develops a form object. As a document can have more than one form, Form objects are stored in an array called forms. Forms Array By using the for

Set up the site structure, Structuring the Web site is the primary step tow...

Structuring the Web site is the primary step towards developing the corporate Web site. Structuring comprise creating a folder, that includes all our text files , picture files and

Inserting external media in the web page, Step 1: In the object tool bar cl...

Step 1: In the object tool bar click on the icon                            Or Insert -> Media -> select the media type to be inserted Step 2: Determine and select t

I want wp estore theme experienced developer, WP Estore Theme Experienced D...

WP Estore Theme Experienced Developer Required Keep work on wordpress estore theme website required. Should have previous proven experience with wp estore theme. Probabili

I want help for it developer, I want help for IT Developer needed - Benelux...

I want help for IT Developer needed - Benelux Region We are seeking an experienced web developer with the following skills 1) Front-end development (HTML5/CSS3) 2) Front-end

Onfocus and onblur, The onFocus event handler executes the mentioned JavaSc...

The onFocus event handler executes the mentioned JavaScript code or function on the occurrence of a focus event. It is while a window, frame or form element is given the focus. It

I want a help in malware check as well as removal, I want a help in Malware...

I want a help in Malware check as well as removal Want a WordPress programmer to check as well as remove possible malware on my website. Not sure what is wrong however I see

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