Service Virtualization

Expand all | Collapse all

How to get day of week with or without DateUtils?

  • 1.  How to get day of week with or without DateUtils?

    Posted Aug 07, 2018 03:06 PM

    How to get today's day of week (eg. Monday)? Does DateUtils support it or I have to create a javascript?

    thanks!



  • 2.  Re: How to get day of week with or without DateUtils?
    Best Answer

    Posted Aug 07, 2018 06:24 PM

    Hello Shurong,

     

    Have you had the chance to look at the documents below?

    Using BeanShell in DevTest - DevTest Solutions - 10.1 - CA Technologies Documentation 

     

    It refers to the following link at the bottom for more info: 

    SimpleDateFormat (Java 2 Platform SE 5.0) 

     

    Hope it helps.

    Heloisa