This nice trick from Todd Geist at http://www.geistinteractive.com who has been doing some great calendar mods for customers...
Here is a useful calc I just came up with for the Calendar. Maybe you have something similar somewhere, but just in case here it is
--------------------------------------------------
Let(
[
t = Get ( CurrentTime );
i = GetAsNumber(CalendarInterface::TimeIncrementAutoGlob)
];
GetAsTime(
Ceiling ( (t/i) ) * i
)
)
--------------------------------------------------
I use it to calc the start time for the event based on current time and the TimeIncrementAutoGlob. So given this
current time = 8:13 am
TimeIncrementAutoGlob = "0:30:00"
it returns
8:30 AM
It always gets the next time rounded to Calendar interval.
- Todd
Tip: Auto Enter Durations
1 post
• Page 1 of 1
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
John Sindelar
SeedCode |
1 post
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 3 guests