def METHOD_NAME(datestr, **kwargs):
    import pyslalib
    import dateutil
    date = dateutil.parser.parse(datestr, **kwargs)
    day = date.day + (date.hour/24.) + (date.minute/60.)/24. + (date.second/3600.)/24.
    JD = pyslalib.slalib.sla_cldj(date.year,date.month,day)
    return JD