This function returns the Julian-day value which Origin uses internally to represent time.
See this note.
double time(int hh, int mm, int ss)
double time(string str[, string Format])
hh
mm
ss
str
Format
returns the Julian-day value.
double aa = time(20:50:25); aa = ;//Should return the Julian-day value of this time, 0.86834490740741.
double aa = time(20,50,25); aa = ;//Should return the Julian-day value of this time, 0.86834490740741.
double aa = time(35:400:500); aa = ;//Should return the Julian-day value of this time, 1.7418981481481.
double aa = time("2 20:50:25", "DDD HH:mm:ss"); aa = ;//Should return the Julian-day value of this time, 2.8683449074074.
double aa = time("002:12", "12"); aa = ;//Should return the Julian-day value of this time(in format of index 12), 2.5.