Date Time Convertion

R

Rudi Groenewald

Hi there...

I need to get a valaue from my form to SQL server, and for some reason the
server only allows the format MM/DD/YYYY HH:MM ....

When my users selects the date off a activeX calendar, it inserts it into a
form field, but in the format DD/MM/YYYY...

I need to get that converted to the format the server accepts, I tried this
functions in another field: =FormatDateTime([date1],[MM/DD/YYYY])

but that doesn't work... what am I doing wrong? and what can I do to correct
this error?

thanks
Rudi
 
R

Rudi Groenewald

Thanks alot, problem solved :)
Chris said:
Try ...

-----Original Message-----
Hi there...

I need to get a valaue from my form to SQL server, and for some reason the
server only allows the format MM/DD/YYYY HH:MM ....

When my users selects the date off a activeX calendar, it inserts it into a
form field, but in the format DD/MM/YYYY...

I need to get that converted to the format the server accepts, I tried this
functions in another field: =FormatDateTime([date1], [MM/DD/YYYY])

but that doesn't work... what am I doing wrong? and what can I do to correct
this error?

thanks
Rudi


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

DTPicker: Incrementing Time Value 6
Date formats 1
Date problem 5
convert date 1
Filter based on date range and a field value 6
Date comparisons 5
Syntax Error 4
date calculations - please help 2

Top