For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
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. TestMu AI now supports dynamic configuration of date, time, 12/24-hour format, and automatic time toggle on real iOS (14+) and Android (10+) 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 TestMu AI Real Devices​

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

Step 2: Select your desired app and a supported device (iOS 14+ or Android 10+), then click Start to launch your session.

Step 3: Once the session starts, open the iOS Settings or Android Settings tab in the left sidebar, based on the device platform.

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

iOS Settings panel in the left sidebar of a real device session with the Set date and Time option highlighted

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

Set Date and Time modal with a custom date, time and 12-hour format filled in, ready to Update on the real device
note

On Android devices, certain models, particularly those from Motorola, Xiaomi, Oppo, and other Chinese OEMs, do not support custom date and time configuration. On such devices, the modal will display a Not Supported message.


Date & Time Configuration Options​

Set Date and Time modal showing the automatic toggle, Date, Time and Time Format controls

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.
Set Date and Time Automatically toggle switched on, with the manual date and time fields disabled

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.
Set Date calendar picker that allows only dates within the next seven days, with other days greyed out

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.
Set Date and Time modal with the Time Format set to 24 hrs and the time shown without AM/PM

Supported Platforms:​

PlatformConfiguration MethodsOS Versions Supported
iOSManual + Appium ExecutoriOS 14 and above
AndroidManual + Appium ExecutorAndroid 10 and above
warning

Custom date and time configuration is not supported on certain Android device models, particularly those from Motorola, Xiaomi, Oppo, and other Chinese OEMs. On these devices, the modal will display a Not Supported message during manual sessions, and the Appium hook will return the following error during automation:

Custom date and time hook is not supported on this device. Please try on another device_id.


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)

Help and Support

Related Articles