Site.pro
  • Website Builder
    • Website Builder
    • Prices
    • Website Import
    • Online Stores
    • Plugins
    • Collaboration
    • Templates
    • Languages
    • Affiliate Program
    • Examples
    • AI Website Builder
    • For Design Studios
    • We Build for You
  • Domains
  • Email
  • Learn
    • Tutorials
    • Blog
    • FAQ
    • Growth Hacking
    • For Hostings
    • Domainity
    • For Education
  • For Resellers
    • Prices
    • White Label
    • Revenue Share
    • Panels
    • How it Works
    • Mass Import
    • Our Partners
    • Reselling Examples
    • Marketing Materials
    • Documentation
    • Free Websites
  • Website Builder
    • Website BuilderEverybody can easily create a website, landing page, or e-commerce store.
    • PricesSite.pro Prices: Templates 200+, Websites, Basic Builder Functions, Online Stores.
    • Website ImportTransfer your existing website from anywhere to Site.pro website builder.
    • Online StoresSell your goods or services anywhere on the website.
    • PluginsMany functions and plugins depending on geographical preferences.
    • CollaborationCollaborative Website Builder, Create a website with teammates in real-time in one space.
    • Templates
    • Languages
    • Affiliate Program
    • Examples
    • AI Website Builder
    • For Design Studios
    • We Build for You
  • Domains
  • Email
  • Learn
    • TutorialsVideos for Beginners. Download video tutorials for free New video tutorial.
    • BlogWebsite Builder Lifehacks: Shared Hosting tips from Hosting Market Leaders.
    • FAQUse this FAQ database to find information about working with Site.pro products quickly and easily.
    • Growth HackingBoost your sales. Strategy
    • For HostingsEducation. Generate more website builder sales
    • DomainityDomainity: Domain quantity per 1000 people
    • For EducationFree Website Builder for Online and Offline Classrooms.
  • For ResellersWhite Label
    • PricesStart reselling. Pay for live websites. Free Websites.
    • White LabelThe most popular white label tool is ideal for reselling
    • Revenue ShareWebsite Builder: Provide free website builder and earn 50% commissions.
    • PanelsOne product for all platforms. Download plugin for your panel.
    • How it WorksCloud or On-Premises. Recommendations for Builder Server.
    • Marketing MaterialsVideo. Mockups. Website Blocks. Marketing Materials.
    • Mass Import
    • Our Partners
    • Reselling Examples
    • Documentation
    • Free Websites
  • Register

    Register

    (Buy Domain, Create email)
    (For Hosting Companies)
    By registering, you accept our Terms of Service
    Number of Customers: 1-100
    Number of Customers: 1-100
  • Log in

    Log in

    New user? Create account
    Forgot password?
  • $
  • English

How to add automatically updating date/time to text?

  • Account & Billing (35)
  • Domains (41)
    • Purchasing
    • Connecting
  • Mailboxes (26)
  • Brand (Cloud, On-Premises) (19)
    • Cloud
    • On-Premises
  • Installation (16)
    • Website Builder
    • Website Builder Plugin
  • Hosting/Billing Panels (35)
    • WHMCS
    • cPanel
    • DirectAdmin
    • ISPmanager
    • Plesk
    • Webuzo
  • Website Builder (283)
    • Website creation
    • Text
    • Pictures
    • Media
    • Additional
    • Social
    • SEO
    • Import
    • Commerce
    • Maps
    • Advanced
    • Forms
    • Errors
    • Custom plugins
  • License (28)
  • Managing Website (12)
  • Web Design Studio (3)
  • Affiliate Program (8)
  • Education (8)

How to add automatically updating date/time to text?

Website builder's text editor can display automatically updating date and time using datetime format string.

Here is how to add automatically updating date/time to your website:

  • Select or add text element;
  • Press "Edit Text" button;
  • Add following value: {{date:placeholder}} (be sure to replace placeholder with desired PHP format character);
    • Here are a few examples of datetime format string:
      • If you wish website visitors to see message "Today's date: (current date here)", then your datetime format string would look like this: {{date:Y m d}}
      • If you wish to display current time, you should enter into text editor: {{date:H:i}}
  • Press "Done" to save and apply changes.

A full list of paramaters supported by datetime format string can be found in official PHP article.


People also found this article using these queries:

  • Does the website builder support dynamic date and time?
  • How can I add a date to text that updates automatically?
  • Can I add an auto-modifying date/time to the text?
  • Is datetime format string supported in the text editor?
  • How to insert a date/time stamp that refreshes automatically?
© Site.pro 2011. Website Builder. United States.
Contact SalesTerms of Service