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

Fashion luxury brand website design and development, Fashion Luxury Brand W...

Fashion Luxury Brand Website Design and Development I want someone to design and implement a website for a high end luxury fashion label that I am launching which at the moment

Bowline website for it security company, Bowline Website I do like to ha...

Bowline Website I do like to have a website created for my company. It is an IT Security Company. The target spectators is in Africa. I am seeking at about 25 pages to be develo

We need help in the trigger svg animation when it is in view, We need help ...

We need help in the Trigger SVG animation when it is in view I am using Raphael as well as lazylinepainter to do svg animations. I don't want the animations to start until they

Seeking talented opencart developer, Seeking talented OpenCart Developer ...

Seeking talented OpenCart Developer We have an by now existing OpenCart 1.5.1 site that wants some updates. a) We have a core file that is generating dumps which needs to be

Want a simple html form having pagedown plugin, Need a simple html form hav...

Need a simple html form having pagedown plugin I want an html form having pagedown plugin in it. There must be submit button on the form which when pressed take submits the edit

I want a simple joomla website built, I want a simple Joomla website built ...

I want a simple Joomla website built I want a developer/development team to build me a simple Joomla website with a custom design. The design will be copied EXACTLY from my curr

Metropolitan area network, A MAN, basically bigger versions of a LAN is des...

A MAN, basically bigger versions of a LAN is designed to extend over a whole city.  It can be single network like a cable television network, or it can be a means of connecting a n

Need help in zendesk integration, Twilio SMS Zendesk Integration This ...

Twilio SMS Zendesk Integration This must be a relatively quick job - Create a (PHP) script that creates / updates a new ticket in Zendesk when an SMS Text message is sent t

Help for web page programing in magento with seo compliance, New web page p...

New web page programing in magento with seo compliance New web page project System- Magento Actual Setup- Multidomain setup Base development on definite pages, part of

We want an experienced programmer to write a script, Web programmer We w...

Web programmer We want to allow logging on an S3 bucket to audit potential high usage from single users (example single IP addresses) on our Wordpress membership site. We wan

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