troubleshooting Question

Formatting date to mm/dd/yyyy

Avatar of Camillia
CamilliaFlag for United States of America asked on
DB2
10 Comments1 Solution697 ViewsLast Modified:
I read the date field in AS400 database, and it looks like this:
2007-01-12

anyway i can display it/ format it as mm/dd/yyyy with a command? or do I need to parse it and put it back together?
in sql server, i use convert(varchar(12),mydate,101)
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros