| TOTAL: 7 Page: 1 of 1 |
|
Fill an input field with the current date and time with javascript
Use javascript to fill an input field with the current date/time to save time for your self. A handy function with complete code and html to copy paste. Save time for your self, and let javascript give you the current time. We have a customer that enters lots of articles through a form, and one of the fields are a date/time when the auction is to start. To speed up their work I created a handy function that fills the input field with the current date/time.

| Hits: | 36 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-19 |
Local Time Script - Complete guide to time display scripts
Want to display the current local time of a specific place in the world? This DHTML script, with the help of either PHP, ASP, or SSI (server side includes), displays the current server time your site is hosted on, and in turn, the local time of anywhere on Earth. You can use it to show visitors your current local time, or the time in New York, Tokyo etc. Now, in order to use this script, the webpage you're adding it to must be either PHP (ie: .php), ASP, or SSI (ie: .shtml) enabled. More on this

| Hits: | 47 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-19 |
Running Clock - The easy way to have a running clock on your site
Ever wanted to have a clock that was always running on your site? It's sort of a drag to just output a clock that will stay the same for 10 minutes or 20 hours if the page isn't refreshed. Here's a little codebase on how you can get your clock to run using some JavaScript.

| Hits: | 60 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-19 |
Y2K and your date scripts
While this tutorial may no longer be relevant in today's time, it's still useful to understand the problem and solution that once plagued JavaScript in certain browsers that is the Y2K bug. A pre millennium survey revealed that over 50% of people secretly hoped for a small disaster to occur on Millennium day (hmmmm). Well, to the disappointment of billions, then, Y2K came without a hitch, and life went on as usual- for the most part, that is. Around the world, minor glitches were reported, and

| Hits: | 53 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-19 |
Calculating the difference between two dates
Calculating the difference between two dates in JavaScript is relatively straightforward, provided you choose the right Date methods to work with. Whichever way you get there, the potential applications on date differences are many, from counting down to a particular event, counting up from a past date, to dynamically indicating what's new on your page.

| Hits: | 50 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-19 |
Creating a live JavaScript clock
If you were like me, before I learned JavaScript, one of the most eager things I wanted to know was how to access the time using JavaScript-displaying it, working with it and so on. Well, it was, in fact very easy, and I'll tell you why. JavaScript already has a built in object that gets the date and time for you -all you have to do is use it!

| Hits: | 38 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-19 |
Date and Time Scripts
The day's date and current time are both popular dynamic elements to add to a page, as they give the impression of a well-updated and worked-on site.

| Hits: | 101 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-19 |