Was this page helpful?

Date.Time

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

    Display the time portion of a specified date. 

    Usage Restrictions

    1.8.1 or later.

    Parameters

    Name Type Description
    datetime
    str The date to display.

    Result

    The time portion of the specified date.

    Samples


    Output

    To display the time portion of the current date:

    {{ date.Time(date.now) }} 

    08:26

    To display a constant time:

    {{ date.Time("01/01/2000") }} 

    00:00

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by