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