function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mmaxtrammaxtra 

Retrieve Day from Date Field...????

Hi:

 Is there a way to find out the day off from a given date?

I have a Date Field called X, If X were to equal 10/01/09 which was Thursday. So like I would like for it to tell me what day is it?

 

I need to write some conditions in my class and I do not know how to get the day from the date.

 

Thanks

MMA

MMA_FORCEMMA_FORCE

Hi Thank you for the reply.. but I saw that and that goes off system.now() I need it go off a date field that I created to figure out the day of that date?

Is there a way to do that?

 

Thanks

MMA

bstangerbstanger

First convert your date field to datetime format

 

http://community.salesforce.com/sforce/board/message?message.uid=108959#U108959

 

, then format