gpt4 book ai didi

宇宙/U2/选择 ICONV()

转载 作者:行者123 更新时间:2023-12-04 16:48:03 24 4
gpt4 key购买 nike

在 U2/Universe/Pick 中,有一个函数 ICONV("11/11/15","D") 将外部日期转换为内部日期,但这适用于美国或日期格式为 mm/仅日/年。如何将此函数用于英国日期格式 (dd/mm/yyyy)?

最佳答案

ICONV("11/12/15","D4/DMY")
output: 17512

根据 UniVerse BASIC 命令引用文档,您还可以使用以下命令来控制日期格式:

You can set the default date format with the DATE.FORMAT command. A system-wide default date format can be set in the msg.text file of the UV account directory. Date conversions specified in file dictionaries or in the ICONV function or the OCONV function use the default date format except where they specifically override it. When NLS locales are enabled, the locale overrides any value set in the msg.text file.

关于宇宙/U2/选择 ICONV(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33662128/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com