Table of contents
  1. 1. Usage Restrictions
  2. 2. Parameters
  3. 3. Result
  4. 4. Samples
date.minutes(datetime : str) : num

Get the minutes component of date-time.

Usage Restrictions

8.05.1 or later.

Parameters

Name Type Description
datetime str date time string

Result

Minutes component of the datetime string.

Samples

     Output

Get the minutes component of the current time:

{{ date.minutes(date.now) }} 
11

Get the minutes componet of the current page:

{{ date.minutes(page.date) }} 

13

   

    

Tag page (Edit tags)
    You must login to post a comment.