Extract date portion from timestamp (1 Viewer)

JJtwin

New member
Local time
Today, 03:49
Joined
May 22, 2008
Messages
7
I need to extract date portion from timestamp for my crystal report.
Timestamp format is '2009-10-22-13.45.34.164874.', and my desired results should be 2009-10-22.

Thanks :eek:
 

ajetrumpet

Banned
Local time
Today, 05:49
Joined
Jun 22, 2007
Messages
5,638
I need to extract date portion from timestamp for my crystal report.
Timestamp format is '2009-10-22-13.45.34.164874.', and my desired results should be 2009-10-22.

Thanks :eek:

why don't you just take the left portion out of it using the left() function?
 

Users who are viewing this thread

Top Bottom