::set open = 0::
::set notyetopened = 0::
::set closed = 0::
::foreach d k::
::if d.orderStartDate!=null::
::if now.getTime() > d.orderStartDate.getTime() && now.getTime() < d.orderEndDate.getTime()::
::set open = open+1::
::elseif now.getTime() > d.orderEndDate.getTime()::
::set closed = closed+1::
::else::
::set notyetopened = notyetopened+1::
::end::
::else::
::set closed = closed+1::
::end::
::end::
::set x = getDate(k[0].date)::
$$date(::x.dow::,::x.d::,::x.m::,::x.y::,::k[0]._place::)
::x.h+":"+x.i::