convertUTCToLocal function
[String] convertUTCToLocal(
- [[String] utcTime]
)
Converts the given UTC time to local time.
params:
utcTime
: The UTC time string in a valid format.
returns:
String
: The converted local time string.- Returns an empty string if the input is invalid.
Implementation
String convertUTCToLocal(String utcTime)
- talawa
- time_conversion
- convertUTCToLocal function