The easy way to get the date and time from javascript. Simple function [addDate()] will do the job. |
|
When you have date fields in your forms, it is a good idea to validate the date value using client side (JavaScript) validation along with your programming language validation. |
|
Just uses client-sde JavaScript call from a main page to an external *.js file. VERY EASY TO HACK OR CRACK, but can give you an idea to create some dynamic content based on user input. WARNING: If you view the source you will be able to see the url to the external file. You can reference this file and most browsers will prompt to open or save. |
|
With JavaScript you can display and manipulate the date and time. You can calculate the days between dates, show new items on your Web site, etc. In this installment we'll take a look at the JavaScript Date() object and learn how to utilize it in our scripts. |
|
This will then output the current time.
|
|
Learn how to calculate the difference between two dates in JavaScript, and in the process, derive some useful applications such as counting down to a particular event, counting up, displaying what's new on your page etc. |
|
Learn how to use JavaScript to manipulate and display the current time and date. |
|
A simple function to greet the user, according to the hour.
Comments in spanish.
Happy hacking! |
|
The document object has a last modified date property. This specifys the date the file was last modified on. This can be useful for showing when the page was last modified without having to modify any HTML when you make a change. This tutorial shows how to display the last modified date in several different formats using JavaScript. |
|
There are many ways to add a date on your screen. This page shows how to put a date and day (for instance: wednesday, march 20th, 2002), using an array. |
|
|
|