Skip to main content

How to fetch specific date format?

Format

Ex: DatesOctober for20, Scenario Editor Tests2020

Use=today().format('MMMM dated,Y')

formatting

Add whenFunctions aand Scenario Editor test needs to enter, compare, or validate datesmethods in theJS format expected by the application under test.DPL:

Evaluate

  • ConfirmDPL: the expected
    date
    format

    Last withupdated: theJune application26, or2023

    API

    If contract.

  • Avoidyou localehave assumptionsany when tests runfeedback on differentthis hoststopic, orplease browsers.
  • Keepcontact generatedus datesat and expected dates in approved test data when possible.
  • Document timezone assumptions for date/time validations.

Validation workflow

  1. Generate or capture the source date.
  2. Convert it to the required display or API format.
  3. Use the formatted value in the input, request, or assertion.
  4. Validate the application saved or displayed the expected value.

Last updated: September 20, 2026documentation@appvance.ai