Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parse a Date

Status
Not open for further replies.

timmbo

Programmer
Feb 22, 2001
167
US
Hi All,

I need to find the best way to take a date and reformat it as yyyy/mm/dd. I'm retrieving begDate, (current format is mm/dd/yyyy), from my jsp page.

myStmt = myStmt + "And to_char(detail.as_of_date, 'yyyy/mm/dd') >= '" + Format(begDate, "yyyy/mm/dd") + "' ";

Any help would be appreciated.

Thanks,
Tim
 
I answered my own question. Thanks everyone.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top