Subject Re: time() funtion
From Mustansir Ghor <mustan31@hotmail.com>
Date Sun, 24 Jul 2022 06:10:38 -0400
Newsgroups dbase.getting-started

Dear Akshat

Thank you

That was reason for putting here. If someone passed through this. I would wonder if it compares time value or character string

Best Regards
Mustansir

Akshat Kapoor Wrote:

> Good Afternoon Mustansir,
> > Can time() function be compared with arithmetic operators as time value?
> ?time()
> x = time()
> ?type('x')
> x2 = time()
> ?x>X2
> ?x<X2
>
> Outputs
>
> 15:17:24
> C
> false
> true
>
> Somme Commands and their outputs.
>
> This reveals that the result can be compared but I would not rely on this.
>
> Suppose the date changes?
>
> Regards
> Akshat