Date & Time
Results 1 - 20 of 20
Comparing Dates in ASP
In this tutorial we will compare dates. We will use DateDiff function. You may compare any two valid dates calculation year, day, month, week, minute ans seconds.
Using GetDate Function in an SQL Statement
This function is very useful, if you wish to get date of current SQL server date and time. You may use this function to fill some rows automatically with current time or using with DateDiff function to return the number between current time.
VBScript Examples : DatePart Function
DatePart function is a very useful function to get the a part of a date. You may get year, month, day of year .. etc. of a specific date.
Returning Month of Date in an SQL Table
This is an useful but not known functions. If you wish to learn month of date stored in a database, you may use this function placing in a 'SELECT' sql statement
Formating Date and Time
In this source code, you may see how can you display date in diffrent formats. This simple ASP code displays current time in short, long and regional settings.
JScript Examples : setDate Method
Following example displays usage of setDate method in JScript. 'setDate methods sets the numeric date of the Date object using local time.
VBScript Functions : DatePart()
With DatePart() function in VBScript language you could take only some parts of current time and display/use in your applications. Following examples will show you and give a brief on this function. .
Displaying Dates and Times with ASP
There are various ways to display Dates and Times. You can display the Date in the standard MM/DD/YYYY or with the name of the day and month. You can display the Date with the Time or the Time all by itself. You can also abbreviate the name of the Day...
(show more)
Displaying the Current Date and Time
In this tutorial you will learn how to post on a web page using ASP programing the date & time. This tutorial is for beginers and explains in a very simple method how to display the date & time.
Dynamic Date Menu
This article will explain how to Dynamically populate a dropdown menu of days dependent om the Month selected. We will be using Javascript and ASP in this article.
Insert Date into Access Database
When inserting a date into an Access database you should use the format YYYY-MM-DD. Our function AccessDate returns a date in YYYY-MM-DD format. When working with a date in Access always use the # delimiters in your SQL statement.
Format date and time with ASP
ASP has some very usefull functions to deal with date and time : this tutorial let you know more about how to ypou use it very easily.
Converting normal Date into RFC-822 Format Date using ASP
Have you ever wanted to format a date in your ASP pages (using VBScript) to conform with RFC-822? These are required for various things but in particular they are required format for dates in RSS feeds. While I was producing some RSS feeds I couldn't...
(show more)
Dates with the Ordinal Suffix
This tutorial will show you how to display the current date with the ordinal suffix e.g. Wednesday 12th May
Playing With Dates
There are several different ways of displaying dates. You can also add and subtract from them as well. Using the FormatDateTime function we can display dates in any manner.
Playing With Times
There are several different ways of displaying times. Using FormatDateTime and DatePart functions we can manipulate the time in many different ways.
Compare dates
Self explaining sort scripts to compare dates. You may use them to display your age, time period fromm a given date or happening etc. (DateDiff, Timer)
Displaying Date, Time, and Text
Shows the basic methods to display date, time and text in a ASP script. Examples on different ways to display the date and time presented.
Date Last Modified ScriptWriter
The author writes "Many places on the web feature the date that the current document was last modified on. Rather than changing the date manually, using a FrontPage WebBot, or targeting the document by writing it directly into the script, let the server...
(show more)
Form Dates
There are a number of ways to have users input dates into your application. Dropdown menus are the preferred method employed as there
will certainly be less error checking on dropdown input as compared to textbox
input. Utilizing the date() functions...
(show more)
