这些方向使用示例公交车发车数据,其中 24 小时时间戳保存在数字字段中,例如 835 表示上午 8:35。如果 24 小时时间戳已经是带前导零的字符串字段(也称为文本类型),您可能不需要执行以下所有步骤。
DATEPARSE("hmm",[Scheduled Departure Time])
//如果数据包含前导零,则使用“hhmm”而不是“hmm”
DATETIME( "1/1/1900 " //arbitrary date + IF LEN([Scheduled Departure Time]) = 3 THEN "0" ELSE "" END //如果时间戳只有 3 个字符,则添加前导零 + [Scheduled Departure Time] )
001458087
33 KB

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.