show / hide menu

GetDay

This function can be used to get the day in a date. For example, if you the day part of the date in any given format you can use this function.

Syntax :

GetDay(Date value)

Where
Date Value is the given date

Examples :

textbox1.Value = GetDay( dtFromDate.Value ) 

This example shows how we can use a date from two datetimepicker controls and find the day part.