Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting Dates from parameter values

Status
Not open for further replies.

t16turbo

Programmer
Mar 22, 2005
315
GB
Hi there, I have a text control in the 'before' section
which includes 2 data parameters:

Code:
"Date Range: " & param_start_period & " - " & param_finish_period

how can I format these to dd-mmm-yyyy format?
 
I assume data type of param_start_period is date.

You can use format function as follows:

format(param_start_period,"dd-mmm-yyyy")

I hope this helps.

-- JB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top