Is there a way to add last modified time/date with a snippet or something?
<meta http-equiv="last-modified" content="YYYY-MM-DD@hh:mm:ss TMZ" />
[ed. note: fourroses666 last edited this post 11 years, 7 months ago.]
Evolution user, I like the back-end speed and simplicity

I found this which works: [*editedon:date=`%d/%m/%Y`*]
and a snippet:
<?php
// Output formatted page edited date.
echo strftime("%A %d %B, %Y", $modx->documentObject['editedon']);
?>
how can I output: YYYY-MM-DD@hh:mm:ss
[ed. note: fourroses666 last edited this post 11 years, 7 months ago.]
Evolution user, I like the back-end speed and simplicity

discuss.answer
Found it:
<?php
// Output formatted page edited date.
echo strftime("%Y-%m-%d@%H:%M:%S TZM", $modx->documentObject['editedon']);
?>
The only question left is what means the TZM?
This is I think timezone. What do I need to use for the Netherlands / Amsterdam?
Is that CET (central europe timezone) ?
[ed. note: fourroses666 last edited this post 11 years, 7 months ago.]
Evolution user, I like the back-end speed and simplicity

Quote from: fourroses666 at Feb 04, 2015, 05:24 AM
The only question left is what means the TZM?
Time Zone Minute??
Hehe, you think?
Found it here.
http://webdesign.about.com/od/metataglibraries/a/use_meta_tags.htm
When searching google I see allot GTM and UTC.
Evolution user, I like the back-end speed and simplicity

I've searched for TZM not TMZ
ah indeed, I think you have to add your own (Europe) time zone region there.
I think TZM is somewhere in the states:
10 v_tz1 := to_timestamp_tz(to_char(sysdate,v_x)||' US/Central',v_x||' TZR');
11 v_tz2 := to_timestamp_tz(to_char(sysdate,v_x)||' CDT',v_x||' TZD');
12 v_tz3 := to_timestamp_tz(to_char(sysdate,v_x)||' -05:00',v_x||' TZH:TZM')
Evolution user, I like the back-end speed and simplicity
