I am trying to do the following:
(CDate(DateTimeValue({?DateFrom})) - 1) * 1440;
But I am getting a "this should be a number" and (CDate(DateTimeValue({?DateFrom})) - 1) highlighted
I have done this before in VB Script by typing:
var = CDate(Date) * 1440
var = var - 1440
Any suggestions or tips ?
Thanks,
(CDate(DateTimeValue({?DateFrom})) - 1) * 1440;
But I am getting a "this should be a number" and (CDate(DateTimeValue({?DateFrom})) - 1) highlighted
I have done this before in VB Script by typing:
var = CDate(Date) * 1440
var = var - 1440
Any suggestions or tips ?
Thanks,