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

I need help in posting ads multiple time, I need help in Posting Ads Multip...

I need help in Posting Ads Multiple Times I would like to get certain Ads posted. Multiple times. I have lots of Ads that want to be posted everyday. Desired Skills are

Authorization table and authorized address, The number of emails  to a give...

The number of emails  to a given email address is updated each time an email is sent.  A request for a given address should be rejected unless the address is in the Authorization t

Requirement for develop a web application, Project Goals To develop a r...

Project Goals To develop a reasonably large and enterprise-level Web application using PHP/ASP.NET/JSP, MySQL, and other Web site technologies that demonstrates the objectives

Looking for a long term developer, Looking For a Long Term Developer I a...

Looking For a Long Term Developer I am seeking to expand my team further and in need of one more Developer to join us rapidly to handle multiple projects as and when required at

I need a continuing education website, I need a Continuing Education Websit...

I need a Continuing Education Website Please see attached PDF for job specifications. We will be selecting a freelancer within the next week if one meets our needs and budget. T

I need a drupal 7 developer, I need a Drupal 7 developer I want a good d...

I need a Drupal 7 developer I want a good developer with a long Drupal development experience to participate in several Drupal 7 projects. I'm seeking someone with a high level

Needed responsive wordpress design and development, Responsive WordPress De...

Responsive WordPress Design & Development I have numerous project however I need to complete Responsive WordPress Design & Development on time and good quality Desired Skills

Woocommerce and wordpress development on existing website, Woocommerce and ...

Woocommerce and wordpress extra development desirable on existing website I have a present website which I need some extra development on. It is a pretty meek custom WordPres

Create an html document and java applets, For this project, you are requir...

For this project, you are required to design and create an HTML document (also referred to as a "Web page"), in which certain basic HTML elements are incorporated. Your HTML docume

Need help in linkedin javascript api on wordpress site, LinkedIn JavaScript...

LinkedIn JavaScript API on WordPress site I would like assistance implementing LinkedIn JavaScript API so users of my WordPress site can "Sign In With LinkedIn". The goal is

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