Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi Team,
Need your help in getting the Last Week Start Date Time and Last Week End Date Time using date functions in services in TW’s ?
(Current Week-1)
Regards,
Pavan Raj T.S
Hi Pavan,
JavaScript has a Date object which has a number of methods you can use to determine the current day, week, year, etc. For example, getDay() will return a numeric value for the day of the week (e.g. Sunday is 0).
You can reference http://www.w3schools.com/jsref/jsref_obj_date.asp for more information about the methods available to you.
Regards,
Adam