Timestamp

Permalink Browser Info Environment
Hello,

In the Template area, I've created a form with the {{timestamp}}. However, on the output page, I get a 10 digit number that has nothing to do with the date, or time that I can see?

David

Type: Ticket
Status: Archived
haundavid
View Replies:
PhilYoung replied on at Permalink Reply
PhilYoung
Hi,

You need to format the time stamp as below (or a variant) in your template

{{ timestamp | date: "%Y-%m-%d %H:%M" }}

seehttps://shopify.github.io/liquid/filters/date/...

Best
Phil
haundavid replied on at Permalink Reply
haundavid
Phil, This worked just perfect. Thank You!
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.3.1
Version Installed - 8.3.1
Database Version - 20171218000000

# concrete5 Packages
Formify (3.1), Minify HTML (1.1), Whale OWL Carousel (2.5.7.9)

# concrete5 Overrides
blocks/form/templates/right_sidebar/view.php, blocks/form/templates/right_sidebar, blocks/form/templates, blocks/form, blocks/autonav/templates/mobile_menu/view.css, blocks/autonav/templates/mobile_menu/view.php, blocks/autonav/templates/mobile_menu, blocks/autonav/templates/drop_down_menu/view.css, blocks/autonav/templates/drop_down_menu/view.php, blocks/autonav/templates/drop_down_menu, blocks/autonav/templates/sitemap_menu/view.css, blocks/autonav/templates/sitemap_menu/view.php, blocks/autonav/templates/sitemap_menu, blocks/autonav/templates/hotbutton_menu/view.css, blocks/autonav/templates/hotbutton_menu/view.php, blocks/autonav/templates/hotbutton_menu, blocks/autonav/templates/blockquote_menu/view.css, blocks/autonav/templates/blockquote_menu/view.php, blocks/autonav/templates/blockquote_menu, blocks/autonav/templates/menu_top/view.css, blocks/autonav/templates/menu_top/view.php, blocks/autonav/templates/menu_top, blocks/autonav/templates, blocks/autonav/view.php, blocks/autonav, blocks/next_previous/view.php, blocks/next_previous, blocks/page_list/view.css, blocks/page_list/templates/thumbnail_grid/view.php, blocks/page_list/templates/thumbnail_grid, blocks/page_list/templates/blockquote_grid/view.php, blocks/page_list/templates/blockquote_grid, blocks/page_list/templates, blocks/page_list/view.php, blocks/page_list, mail/block_express_form_submission.php, mail/block_form_submission.php, single_pages/page_not_found.php, themes/ctca/left_sidebar.php, themes/ctca/thumbnail.png, themes/ctca/home.php, themes/ctca/description.txt, themes/ctca/right_sidebar.php, themes/ctca/default.html, themes/ctca/home_entry.php, themes/ctca/elements/header_entry.php, themes/ctca/elements/header.php, themes/ctca/elements/footer.php, themes/ctca/elements, themes/ctca/home.html, themes/ctca/blog_entry.php, themes/ctca/scripts/SpryAccordion.js, themes/ctca/scripts, themes/ctca/page_theme.php, themes/ctca/view.php, themes/ctca/full.php, themes/ctca/css/main.css, themes/ctca/css, themes/ctca/images/banner_new_default.jpg, themes/ctca/images/parallax1.jpg, themes/ctca/images/icon_email.png, themes/ctca/images/hot-buttons-bg.png, themes/ctca/images/btn1.jpg, themes/ctca/images/menu-ul-li.jpg, themes/ctca/images/clear.png, themes/ctca/images/article.png, themes/ctca/images/icon_twitter.png, themes/ctca/images/title-default.jpg, themes/ctca/images/shadow-bg.png, themes/ctca/images/phone.jpg, themes/ctca/images/scocials.png, themes/ctca/images/logo.png, themes/ctca/images/scocials_ro.png, themes/ctca/images/clear_banner.png, themes/ctca/images/right_sidebar_bg.jpg, themes/ctca/images/Formify_select.png, themes/ctca/images/icon_facebook.png, themes/ctca/images/banner_arrows.png, themes/ctca/images/arrow-down.png, themes/ctca/images, themes/ctca/default.php, themes/ctca

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.6.36

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, gd, hash, iconv, imap, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 2M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.