Almanac Calendar
- Set CURTIME = 1731628800
- Set CURDAY =
- Set CURYEAR = 2024
- Set CURMONTH = 11
- Set CURMONTHNAME = Nov
- Set SELECTTIME = 1731628800
- Set SELECTMONTH = 11
Sunday |
Monday |
Tuesday |
Wednesday |
Thursday |
Friday |
Saturday |
|
|
|
|
|
01
|
02
|
03
|
04
|
05
|
06
|
07
|
08
|
09
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
|
See
AlmanacCalendar edit
Debugging:
- Current time = 1731628800
- Curent year = 2024
- Current month = 11
- Current month name = Nov
- Selected Time = 1731628800
- Selected Month = 11
Event Lists
Reference Events
One-time Events
Relative Events
Weekly Events
Bi-Weekly Events
Monthly Events
Code - Visible only to AdminGroup.
%STARTSECTION{"dates"}%$percntCALC{\"$SET(startepoch,
~~~ $IF($EXACT($formfield(Date),),
~~~ $TIMEADD(
*~~ $TIME($percntFORMFIELD{\"Date\" topic=\"$percntFORMFIELD{\"RelativeTo\" topic=\"$web.$topic\"}$percnt\"}$percnt $GET(curyear) LOCAL),
~~~ $formfield(OffsetAmount), $formfield(OffsetUnit)
*~~ ),
~~~ $TIME($formfield(Date) $GET(curyear))
*~~ ))$FORMATTIME($GET(startepoch), $day $mon $year)
~~~ $IF($NOT($EMPTY($formfield(EndDate)$formfield(RepeatCount))),
~~~ - $IF($NOT($EMPTY($formfield(EndDate))),
~~~ $formfield(EndDate) $GET(curyear),
~~~ $FORMATTIME($TIMEADD($GET(startepoch),
~~~ $EVAL($formfield(RepeatCount) *
~~~ $IF($EXACT($formfield(RepeatFrequency), weekly), 1)$IF($EXACT($formfield(RepeatFrequency), bi-weekly), 2)$IF($EXACT($formfield(RepeatFrequency), monthly), 4)
*~~ ), week), $day $mon $year )
*~~ )
*~~ )
~~~ \"}$percnt
~~~ - <a href='$percntSCRIPTURL{view}$percnt/$web/$topic' title='$percntENCODE{\"$formfield(Details)\" type=\"safe\"}$percnt'>$formfield(TopicTitle)</a>%ENDSECTION{"dates"}%
%STARTSECTION{"calendar_styles"}%
<style type='text/css' media='all'>
.eventCalendar {
width: 100%;
padding: 0;
margin: 0;
border: 1px solid #A2ADBC;
font: normal 12px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #616B76;
text-align: center;
background-color: #fff;
}
form#jumpMonth select { font-size:1.5em; }
.nav, .nav a {
font: bold 18px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #fff;
text-align: center;
text-decoration: none;
}
.eventCalendar th {
font: bold 11px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #616B76;
text-align: center;
background-color: #D9E2E1;
border-right: 1px solid #A2ADBC;
border-bottom: 1px solid #A2ADBC;
border-top: 1px solid #A2ADBC;
}
.eventCalendar td {
background-color: transparent;
}
.today, td.today a, td.today a:link, td.today a:visited {
color: #F6F4DA;
font-weight: bold;
background-color: #DF9496;
}
td.calendarHeader {
background-color: #D9E2E1;
}
td.weekend {
background-color: #D9E2E1;
}
.eventCalendar td.day,
.eventCalendar td.weekday,
.eventCalendar td.weekend {
border-right: 1px solid #A2ADBC;
border-bottom: 1px solid #A2ADBC;
/* width: 20px;
height: 20px; */
text-align: center;
}
.eventCalendar a {
text-decoration: none;
font-weight: bold;
display: inline-block;
}
.eventCalendar a:link, .eventCalendar a:visited {
color: #608194;
}
.eventCalendar a:hover, .eventCalendar a:active {
color: #6aa3ae;
}
</style>
%ENDSECTION{"calendar_styles"}%
background: url(%PUBURLPATH%/%WEB%/%TOPIC%/bg_calendar.gif) no-repeat right bottom;
td.calendarHeader {background-color: #efefef;}
th.weekend, th.weekday {text-align: center;}
td.weekend {background-color: lightgrey;}
table.eventCalendar table td:first-child,
table.eventCalendar table td:last-child {
background-color: lightgrey;
}
td.today {background-color: #efefef;}