7 Replies Latest reply: Dec 3, 2013 1:01 AM by Thirunavukkarasu M RSS

    How to convert the given date-time format into week start date with day of the week?



      I want to convert the DateTime format into week start date with it's day?. For example:

      4/15/2013  9:36:02 AM This need to be converted into (-W-day). Help me to solve this.


      If I use weekStart(''4/15/2013  9:36:02 AM') it will return the format like (4/15/2013).


      I Need something like 2013-W48-('week start day') OR (W48-Mon) and so on..