Weekdagen tonen aan de hand van publicationdate

Status
Niet open voor verdere reacties.

malibuman

Gebruiker
Lid geworden
19 dec 2011
Berichten
85
Iemand een idee hoe ik hier de weekdagen kan laten tonen?

HTML:
					<p><h3 class="tussenkop">Data en locatie open inschrijving</h3></p>
					<div id="trainingsdata">	
					<dtml-let tagname=id>

				          <dtml-in "ezcontent_search_objects_to_objects(getSearchResultsByTag(tagname))" sort="publicationdate">
						<div class="daterow<dtml-if "_['sequence-index'] > 2"> hidden</dtml-if>">
						[COLOR="#FF0000"]<span class="firstcol"><dtml-var publicationdate fmt="%d-%m-%Y"></span> [/COLOR]
							<span class="secondcol"><dtml-var title></span>
							<span class="thirdcol"><dtml-var ingress></span>
                                                                <span class="fourthcol"><dtml-var publicationdate fmt="%H:%M"></span>
</div>

				</dtml-in>
			
				<dtml-if "len(ezcontent_search_objects_to_objects(getSearchResultsByTag(tagname))) > 5">
					<a href="#" class="showthecandy">Laat meer data zien</a>
				</dtml-if>
					
					</dtml-let>
					</div>
					<div class="extra_tekst">
						<dtml-var standardpage_extra_wysiwygfield_1>
					</div>
				</div>
 
Hoi malibuman,
Ik weet het antwoord niet; maar dit is geen gewone html.
Is het ZOPE / dtml?
 
%a An abbreviation for the day of the week.
%A The full name for the day of the week.
%b An abbreviation for the month name.
%B The full name of the month.
%c A string representing the complete date and time; on my
computer it's in the form: 10/22/99 19:03:23
%d The day of the month, formatted with two digits.
%H The hour (on a 24-hour clock), formatted with two digits.
%I The hour (on a 12-hour clock), formatted with two digits.
%j The count of days in the year, formatted with three digits
(from 001 to 366).
%m The month number, formatted with two digits.
%M The minute, formatted with two digits.
%p Either AM or PM as appropriate.
%S The second, formatted with two digits.
%U The week number, formatted with two digits (from 00 to 53;
week number 1 is taken as beginning with the first Sunday
in a year). See also %W.
%w A single digit representing the day of the week:
Sunday is day 0.
%W Another version of the week number: like %U, but
counting week 1 as beginning with the first Monday in a year.
%x A string representing the complete date; on my computer
it's in the format 10/22/99.
%X A string representing the full time of day (hours, minutes,
and seconds), in a format like the following example: 13:13:13
%y The last two digits of the year.
%Y The full year, formatted with four digits to include
the century.
%Z Defined by ANSI C as eliciting the time zone, if available;
it is not available in this implementation (which accepts %Z
but generates no output for it).
%% A single character, %.


Was dus ZOPE / DTML code. Is dus bij deze opgelost
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan