Functions. 

  • LimitDay: Date interval limitation feature within 24 hours of the day.

(eg. [var dates = LimitDay(DateToday, CurrentBooking.Booking.Dates) ]Todays event lasts from [FormatDate(”t”, dates.From] to [FormatDate(”t”, dates.To] at [CurrentBooking.Booking.ResourcesString].)

Arguments:
- Date, here the following variable types can be used

  1. DateTime (ie. booking.DateFrom)
  2. DayOfWeek (ie. booking.DateFrom.Day)

- Timeinterval, here the following variable types can be used

  1. Booking detail (eg. booking)
  2. Booking (eg. booking.Booking)
  3. DateRange (eg. booking.Dates)
  • GetLogoUrl: Return the URL to an image representing the item

(eg. Here is a picture of the organizer [SafeXml(booking.ClientName)]: <img src=”[GetLogoUrl(booking)]”> )

Arguments:

Booking or ClientURL for image of the client belonging to the ongoing booking, if such an image exists. (Used ex. For birthdays)