如何将普通日期转换为儒略日期?如何在输出中将localtimestamp转换为HHMM?
发布于 2021-10-21 13:22:16
Julian日期格式应为YYYYDDD。
julian_date = to_char(normal_date_col,'YYYYDDD') -- output should be a string column of length 7你可以使用普通的to_char来做这件事。
hhmm_string_col=to_char(normal_date_col,'HHMI') -- output should be a string column of length 4https://stackoverflow.com/questions/69662368
复制相似问题