Last Week Start and End Date Time
Jul 04, 2014
03:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 04, 2014
03:20 AM
Last Week Start and End Date Time
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
1 REPLY 1
Jul 07, 2014
01:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 07, 2014
01:25 PM
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