SHOWING LATEST TUTORIALS
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.
Following example displays usage of setDate method in JScript. 'setDate methods sets the numeric date of the Date object using local time.
This tutorial will show you how to display the current date with the ordinal suffix e.g. Wednesday 12th May
You may use DateDiff function in an SQL statement to get the number of date and/or time between two dates. You may calculate days between two different date. The return number of DateDiff function can be year, month, day, hour, minute, second ....
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.
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
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.
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 the
Dealing with dates, especially in anything other that US standard format, can be a challenge. This tutorial discusses the scripting needed to handle them properly for a range of applications. It also lists reference for each date/time function.