how to change '03/26/2004 18:15:25' to '03/26/2004 00:00:00'?
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: how to change '03/26/2004 18:15:25' to '03/26/2004 00:00:00'?

  1. #1
    Join Date
    May 2001
    Posts
    285

    Lightbulb how to change '03/26/2004 18:15:25' to '03/26/2004 00:00:00'?

    Looking for a simple way to skip the time part of the date. Well, not really skip, instead mark it as midnight.

    Can I do it by only keep the date part but not the time part?

    Thanks!

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    TRUNC(datetimevalue)
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  3. #3
    Join Date
    May 2001
    Posts
    285
    Thanks, that's exactly what I need!

Posting Permissions

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



Click Here to Expand Forum to Full Width