You need to sign in to do that
Don't have an account?
willing
To find day of the week
I have to calculate the number of days a case has been in a perticular status and if it is a High Priority case then it needs to consider weekends as well and for all other priorities it needs to ignore the weekends and then see how long a case has been in a perticular status.
Has any one worked on similar situation and is there a way I can see what is the Day ( Monday, Tuesday, Wednesday etc) on a perticular date ?
Any help is appricaited.
Thanks
Has any one worked on similar situation and is there a way I can see what is the Day ( Monday, Tuesday, Wednesday etc) on a perticular date ?
Any help is appricaited.
Thanks
you may have to convert a date to a datetime.
http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
so, something like this :
string day_of_week = myDate.format( 'EEE' );
system.debug( day_of_week );