def METHOD_NAME(timestamp=None):
    if timestamp is None:
        timestamp = np.datetime64(datetime.now())
    if isinstance(timestamp, datetime):
        timestamp = np.datetime64(timestamp)
    return timestamp