Re: [Nant-users] Calculating a span of time

2005-04-06 Thread Robert Smith
Thanks Evan, here's what worked for me to get the span of time:   ...do some stuff that takes time     ~Robert  On Mar 31, 2005 11:50 AM, Evan Levy <[EMAIL PROTECTED]> wrote: This is wordy, but *should* work (i.e.  I haven't tested):timespan::get-seconds(timespan::from-ticks(datetime::get-tick

RE: [Nant-users] Calculating a span of time

2005-03-31 Thread Evan Levy
This is wordy, but *should* work (i.e. I haven't tested): timespan::get-seconds(timespan::from-ticks(datetime::get-ticks(datetime: :now()) - datetime::get-ticks(SomePropertyHoldingTheStartingDatetime))) ... would give you the number of seconds between now and then. For other time types, substit