combineDateTime function
[String] combineDateTime(
)
Combines the given date and time strings into a single string.
params:
date
: The date string in a valid date format (e.g., 'YYYY-MM-DD').time
: The time string in a valid time format (e.g., 'HH:MM:SS').
returns:
String
: A string that combines thedate
andtime
, separated by a space.
Implementation
String combineDateTime(String date, String time)
- talawa
- time_conversion
- combineDateTime function