A method of calculating the difference between the two dates between two dates (VB) Select Blog from TJDLUT

xiaoxiao2021-03-06  51

Dim a as date

DIM B AS Date

a = system.datetime.now

B = cdate (chKEXPORT.TEXT)

DIM TS AS System.TimeSpan

Ts = a.subtract (b)

DIM PP AS Integer

PP = CINT (Ts.TotalDays)

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

New Post(0)