Date and time

Author Message

David Lafonte

Wednesday 03 December 2008 8:10:58 pm

How to include in template date and time
Like today is monday july 2009
thanks

John Moritz

Wednesday 03 December 2008 9:26:14 pm

{currentdate()|datetime( 'custom', '%l %F %Y' )}

http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_operators/formatting_and_internationalization/datetime

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:23:55
Script start
Timing: Jan 18 2025 11:23:55
Module start 'layout'
Timing: Jan 18 2025 11:23:55
Module start 'content'
Timing: Jan 18 2025 11:23:56
Module end 'content'
Timing: Jan 18 2025 11:23:56
Script end

Main resources:

Total runtime1.0400 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 587.7891152.6094
Module start 'layout' 0.00480.0026 740.398439.4141
Module start 'content' 0.00741.0312 779.8125451.5781
Module end 'content' 1.03850.0014 1,231.39068.1953
Script end 1.0399  1,239.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3614160.0002
Check MTime0.00180.1756160.0001
Mysql Total
Database connection0.00060.057810.0006
Mysqli_queries0.998095.9665540.0185
Looping result0.00060.0539520.0000
Template Total1.008096.920.5040
Template load0.00200.196620.0010
Template processing1.005996.723220.5030
Template load and register function0.00020.016310.0002
states
state_id_array0.00190.179410.0019
state_identifier_array0.00130.120520.0006
Override
Cache load0.00170.160990.0002
Sytem overhead
Fetch class attribute can translate value0.00060.060620.0003
Fetch class attribute name0.00140.136220.0007
XML
Image XML parsing0.00020.023420.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00060.0580100.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs