Skip to main content

Set Custom Date, Time & Hour Format on Real Devices

Testing applications often requires validation across different date, time, and format scenarios. LambdaTest now supports dynamic configuration of date, time, 12/24-hour format, and automatic time toggle on real iOS and Android devices — both in manual sessions and via Appium automation hooks.

This enables use cases like testing scheduled alerts, AM/PM behaviors, time-bound features, and regional formatting validations.


Access Date & Time Settings on LambdaTest Real Devices

Step 1: Log into your LambdaTest dashboard and navigate to Real Devices > App Testing.

Step 2: Select your desired app and an iOS device (iOS 14+), then click Start to launch your session.

Step 3: Once the session starts, open the iOS Settings tab in the left sidebar.

Step 4: Click on Set Date and Time to open the configuration modal.

Step 5: In the modal, configure the date, time, and time format as needed, then click Update to apply the changes to the device.


Date & Time Configuration Options

The modal includes four options to simulate various datetime-related behaviors:

1. Set Date and Time Automatically

  • Toggle ON: Syncs the device with network time.
  • Toggle OFF: Unlocks manual controls for custom configuration.
  • Disabling this is mandatory to manually edit date or time.

2. Date

  • Opens a calendar picker with selectable dates up to 7 days ahead.
  • Selecting a date updates the system date on the device.
  • Past dates and dates beyond 7 days are grayed out and unselectable.
  • An Apply button appears only when a valid date is selected.

3. Time

  • Allows custom time entry in HH:MM:SS format.
  • Picker adjusts based on selected hour-format (12 or 24-hour).
  • Supports both manual typing and arrow key navigation for time input.

4. Time Format (12/24 Hour)

  • Choose between 12-hour (AM/PM toggle) and 24-hour formats.
  • 12-hour format shows AM/PM option in time picker.
  • 24-hour format disables AM/PM selection automatically.

Supported Platforms:

PlatformConfiguration MethodsOS Versions Supported
iOSManual + Appium ExecutoriOS 14 and above
note

This feature is currently not supported on Android. Support for Android is planned in a future update.


Use Cases:

  • Test scheduled notifications and alerts
  • Validate time-sensitive app flows
  • Check 12/24-hour format compatibility
  • Simulate future or custom dates
  • Debug calendar and time-based modules
  • Verify auto/manual time toggle behavior
  • Test date/time edge cases (e.g., midnight, EOM)

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles