getDateStringAndTimeString

fun TestDetails.getDateStringAndTimeString(is24hourFormat: Boolean = false): Pair<String, String>

Used to get a pair consisting of strings representing date and time. The first value in the pair is the date string and the second value is the time.

Parameters

is24hourFormat

used to specify whether the format of the time string.