format date in table (1 Viewer)

mohamedmatter

Registered User.
Local time
Today, 04:07
Joined
Oct 25, 2015
Messages
112
how show date in table and form as to like format yyyy/mm/dd
 

CJ_London

Super Moderator
Staff member
Local time
Today, 12:07
Joined
Feb 19, 2013
Messages
16,607
use the field format property.
 

CJ_London

Super Moderator
Staff member
Local time
Today, 12:07
Joined
Feb 19, 2013
Messages
16,607
for tables


for controls of forms and reports
 

Attachments

  • Capture.JPG
    Capture.JPG
    27.5 KB · Views: 120
  • Capture1.JPG
    Capture1.JPG
    52.8 KB · Views: 111

Pat Hartman

Super Moderator
Staff member
Local time
Today, 07:07
Joined
Feb 19, 2002
Messages
43,223
NEVER format anything at the table level.

WHY? - all you are doing is obfuscating the actual value and not changing anything. A prime example is with date fields. If a date field contains a time component, you can format it so you never see the time. Doesn't mean that time is not there and you'll have trouble trying to figure out why you can't retrieve the correct records when you are looking for SomeDate = #12/31/2017# and returning only 2 records when you can SEE that you have three rows with that "exact" value in the table.

Do any formatting you need in the form or report or if you are exporting a query, in the query.
 

Users who are viewing this thread

Top Bottom