Date type is obtained according to time string (20031110)

xiaoxiao2021-03-06  60

'Get date types based on time string (20031110)

Function getDateTimeBydateString (byval datessring as string) AS Date

Return Cdate (Left (DateString, 4) & "-" & Right (LEFT (DateString, 6), 2) & "-" & Right (DateString, 2))

END FUNCTION

转载请注明原文地址:https://www.9cbs.com/read-112086.html

New Post(0)