MS Access 2010
My query reflects a date field.
some dates reflect as this format:
1/19/2013 12:00:36 AM
some dates reflect as this format:
1/19/2013
I want to use the query builder to say:
IF date format is like 1/19/2013 12:00:36 AM, then something.....
IF not, then something else.
I tried this, but it doesn't work:
type: IIf( FormatDateTime(datefieldname, 4) , "true", "false")
In the table I am using in this query the data type is Date/Time, the format is blank.
Thanks for any info on this.
My query reflects a date field.
some dates reflect as this format:
1/19/2013 12:00:36 AM
some dates reflect as this format:
1/19/2013
I want to use the query builder to say:
IF date format is like 1/19/2013 12:00:36 AM, then something.....
IF not, then something else.
I tried this, but it doesn't work:
type: IIf( FormatDateTime(datefieldname, 4) , "true", "false")
In the table I am using in this query the data type is Date/Time, the format is blank.
Thanks for any info on this.