def METHOD_NAME(hour, mins, secs, isPM=False):
    seconds = 0
    if isPM:
        seconds += 43200  # Seconds in the first 12 hours
    seconds += (hour * 3600)
    seconds += (mins * 60)
    seconds += secs
    return seconds