How to get "day" from given "date"

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
sathishmca
Participant
Posts: 43
Joined: Mon Mar 03, 2008 10:58 pm
Location: Chennai

How to get "day" from given "date"

Post by sathishmca »

Hi to all,

Could any one tell me how to get DAY value from given DATE value?

Ex : '21-Feb-2009' - Saturday

please do the needfull.
Sathish Bhojan
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The needful is documented in the online help. Read about the 'D' code for OConv() with the format option WA to get the full weekday name.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sathishmca
Participant
Posts: 43
Joined: Mon Mar 03, 2008 10:58 pm
Location: Chennai

Post by sathishmca »

chulett wrote:The needful is documented in the online help. Read about the 'D' code for OConv() with the format option WA to get the full weekday name. ...
Thanks..I have got the solution.
Sathish Bhojan
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Then please mark the post as Resolved using the button at the top of the screen.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply