splitDateTimeLocal function
[Map[<[String], [String]>]] splitDateTimeLocal(
- [[String] dateTimeStr]
)
Splits the given local date and time string into separate date and time strings.
params:
dateTimeStr
: The local date and time string in a valid format.
returns:
Map<String, String>
: A map containing the separate date and time strings.- Returns an empty map if the input is invalid.
Implementation
Map<String, String> splitDateTimeLocal(String dateTimeStr)
- talawa
- time_conversion
- splitDateTimeLocal function