Thank you very much Todd. From your example I got what I needed.
Fredy Venczel
-----Original Message-----
From: Todd Caughey [SMTP:caugheyt@...]
Sent: Tuesday, March 23, 2004 12:32 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] RB: Date/Time conversion
Off top of head...
(TargetDate - 01/01/2004) * 1440 = Minutes from start of year to
start of TargetDate
There should be no seconds since the Day Difference should be a
whole number (days)
If you also need actual minutes/seconds since midnight to right now
then add
INTEGER(TIME() / 60) = CurMin and
TIME() - (CurMin * 60) = CurSec
I don't think RB has a "System Minutes or Seconds" function that
converts a date to minutes since an arbitrary base time like the labor
detail record stores for ClockInMinute.
-Todd C.
-----Original Message-----
From: Fredy Venczel [mailto:fvenczel@...]
Sent: Tuesday, March 23, 2004 9:57 AM
To: vantage@yahoogroups.com
Subject: [Vantage] RB: Date/Time conversion
Is there a way to convert a date field into minutes or seconds since
the
beginning of the year?
Thanks,
Fredy Venczel
Fredy Venczel
-----Original Message-----
From: Todd Caughey [SMTP:caugheyt@...]
Sent: Tuesday, March 23, 2004 12:32 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] RB: Date/Time conversion
Off top of head...
(TargetDate - 01/01/2004) * 1440 = Minutes from start of year to
start of TargetDate
There should be no seconds since the Day Difference should be a
whole number (days)
If you also need actual minutes/seconds since midnight to right now
then add
INTEGER(TIME() / 60) = CurMin and
TIME() - (CurMin * 60) = CurSec
I don't think RB has a "System Minutes or Seconds" function that
converts a date to minutes since an arbitrary base time like the labor
detail record stores for ClockInMinute.
-Todd C.
-----Original Message-----
From: Fredy Venczel [mailto:fvenczel@...]
Sent: Tuesday, March 23, 2004 9:57 AM
To: vantage@yahoogroups.com
Subject: [Vantage] RB: Date/Time conversion
Is there a way to convert a date field into minutes or seconds since
the
beginning of the year?
Thanks,
Fredy Venczel