creating a date from numbers in a field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

i have several fields which i need to combine to create a date field.

any suggestions as to how to do this are most welcome.

many thanks,

S
 
You need atleast 3 (Day, Month and Year) fields to create a date. Do you have
them ? If so, concatenate them into a string 'dateString' and call the method
Date( dateString ).
 
Hi simon.

simon said:
i have several fields which i need to combine to create a date field.
any suggestions as to how to do this are most welcome.

Try to use the DateSerial function. It creates a date from three separate
values: year, month an day.
 

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

Back
Top