Hi All,
I have been using this Function for years but I can't get it to format my date.
In the table the format is "dd mmm yyyy" but it returns in a query in my code as "m/dd/yyyy" so
I use this code to format it back
--Format(rec("myDate"), "dd mmm yyyy")-- but it still comes back as "m/dd/yyyy"
I want to extract the day from it so I also tried
DatePart("d", rec("myDate")) and Day(rec("myDate")) functions and they both still return "m/dd/yyyy"
Any ideas on why none of these aren't working.
Thanks!!
I have been using this Function for years but I can't get it to format my date.
In the table the format is "dd mmm yyyy" but it returns in a query in my code as "m/dd/yyyy" so
I use this code to format it back
--Format(rec("myDate"), "dd mmm yyyy")-- but it still comes back as "m/dd/yyyy"
I want to extract the day from it so I also tried
DatePart("d", rec("myDate")) and Day(rec("myDate")) functions and they both still return "m/dd/yyyy"
Any ideas on why none of these aren't working.
Thanks!!