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. Easy-to-use website builder.
    • PricesSite.pro Prices: Templates 200+, Websites, Basic Builder Functions, Online Stores. Get more website builder features.
    • Website ImportTransfer your existing website from anywhere to Site.pro website builder. Website import from different website builders.
    • Online StoresSell your goods or services anywhere on the website. The Easiest Way to Build an Online Store
    • PluginsMany functions and plugins depending on geographical preferences. Plugin description.
    • CollaborationCollaborative Website Builder, Create a website with teammates in real-time in one space. Real-Time Collaboration.
    • 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 Localised product (local language, plugins, payment gateways, …)
    • For EducationFree Website Builder for Online and Offline Classrooms. Collaborate with students in one space or separately.
  • For ResellersWhite Label
    • PricesStart reselling. Pay for live websites. Free Websites. Join reselling program.
    • 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. Site.pro builder works on these panels. For Hosting Companies.
    • How it WorksCloud or On-Premises. Recommendations for Builder Server. Requirements for builder server (On-premises only) and published websites.
    • 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?

Category
  • Account & Billing (35)
  • Domains (41)
  •     Purchasing (15)
  •     Connecting (26)
  • Mailboxes (26)
  • Brand (Cloud, On-Premises) (19)
  •     Cloud (5)
  •     On-Premises (14)
  • Installation (17)
  •     Website Builder (11)
  •     Website Builder Plugin (6)
  • Hosting/Billing Panels (37)
  •     WHMCS (5)
  •     cPanel (9)
  •     DirectAdmin (8)
  •     ISPmanager (4)
  •     Plesk (7)
  •     Webuzo (2)
  •     CentOS Web Panel (2)
  • Website Builder (283)
  •     Website creation (52)
  •     Text (14)
  •     Pictures (11)
  •     Media (15)
  •     Additional (8)
  •     Social (13)
  •     SEO (22)
  •     Import (5)
  •     Commerce (80)
  •     Maps (12)
  •     Advanced (18)
  •     Forms (7)
  •     Errors (21)
  •     Custom plugins (5)
  • License (28)
  • Managing Website (12)
  • Web Design Studio (3)
  • Affiliate Program (8)
  • Education (8)
  • Search
    Filter
  • All (544)
  • For Hosting Companies (422)
  • For Website Owners (395)
    • Account & Billing (35)
    • Domains (41)
      • Purchasing (15)
      • Connecting (26)
    • Mailboxes (26)
    • Brand (Cloud, On-Premises) (19)
      • Cloud (5)
      • On-Premises (14)
    • Installation (17)
      • Website Builder (11)
      • Website Builder Plugin (6)
    • Hosting/Billing Panels (37)
      • WHMCS (5)
      • cPanel (9)
      • DirectAdmin (8)
      • ISPmanager (4)
      • Plesk (7)
      • Webuzo (2)
      • CentOS Web Panel (2)
    • Website Builder (283)
      • Website creation (52)
      • Text (14)
      • Pictures (11)
      • Media (15)
      • Additional (8)
      • Social (13)
      • SEO (22)
      • Import (5)
      • Commerce (80)
      • Maps (12)
      • Advanced (18)
      • Forms (7)
      • Errors (21)
      • Custom plugins (5)
    • License (28)
    • Managing Website (12)
    • Web Design Studio (3)
    • Affiliate Program (8)
    • Education (8)
    FAQ
    ›
    Text
    How to add automatically updating date/time to text?
    For Website Owners

    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 ServicePrivacy Policy