Why do I get a warning?
return( (datetime)86400*MathFloor(tNY/86400) + (datetime)ClsSess - tNY );tNY/86400 is a datetime/int try
return( 86400*((ulong)tNY/86400) + ClsSess - tNY );
return( (datetime)86400*MathFloor(tNY/86400) + (datetime)ClsSess - tNY );tNY/86400 is a datetime/int try
return( 86400*((ulong)tNY/86400) + ClsSess - tNY );
You agree to website policy and terms of use
Hi,
to calc the NY-Session I use:
The numbers are the line nubmers.
The warning is:
I get the same warning even before I added all the (datetime)-casting.
Why do I get this warning on the expression being returned?
Gooly
I got it this is ok - no warning: