def timestamp(value):
    if isinstance(value, py_string):
        from pandas import Timestamp
        value = Timestamp(value)
    op = ir.Literal(value)
    return ir.TimestampScalar(op)
Returns a timestamp literal if value is likely coercible to a timestamp
dataset/ETHPy150Open cloudera/ibis/ibis/expr/api.py/timestamp