show / hide menu


This function can be used to compute the formatted date. This function requires three arguments, the first one is value to specify the value to be formatted and the next one is the current date and the third is the new format. This function returns the formatted dates.


GetDateFormat(Value , CurrentFormat , NewFormat)

Value is the value to be formatted
CurrentFormat is the current format of the date
NewFormat is the date format need to change


textbox1.Value = GetDateFormat(Value , CurrentFormat , NewFormat)

This example shows the change in the format between the date given before and after.