date format

Results 1 to 3 of 3

Thread: date format

  1. #1
    Fion Guest

    Default date format

    Is there a way to format a field of date/time data type to this format "dd/mm/yy hh:mm" when displaying?<BR><BR>I keep getting the format: "mm/dd/yy hh:mm" when I display the results although my field format is general date in the table<BR><BR>Please advise.<BR>thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: date format

    The best way to control a date format is to build the string explicitly yourself. A short example:<BR><BR>strDate = Day(dtmDate) & "\" & Month(dtmDate) & "\" & Year(dtmDate)<BR><BR>This will give the date in the format you want, but you may want to force each part to 2 digits like this:<BR><BR>Right("0" & Day(dtmDate), 2)<BR><BR>HTH<BR><BR>Dunc

  3. #3
    Mahi Guest

    Default RE: date format

    Try using formatdatetime

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts