Converting a date to a string

R

Roger Tuffins

I have a date e.g. 01.10.2007 (Norwegian date format) (1st October 2007)
which I would like to convert to a string with 6 characters: 011007. Which
functions should I use to create this string?
 
J

John W. Vinson

I have a date e.g. 01.10.2007 (Norwegian date format) (1st October 2007)
which I would like to convert to a string with 6 characters: 011007. Which
functions should I use to create this string?

Format([datefield], "ddmmyy")

John W. Vinson [MVP]
 

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

Top