<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getLocalTime(date, time, *args, **kwargs):
 """ Get the time in the local timezone from date and time """

    if time is not None:
        return getLocalDateAndTime(date, time, *args, **kwargs)[1]