Was this page helpful?

Date.DaysInMonth

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

    Get the number of days in date-time month.

    Usage Restrictions

    8.05.2 or later.

    Parameters

    Name Type Description
    datetime str date time string

    Result

    Returns a num value.

    Samples

      Output

    Get number of days in current month:

    {{ date.daysinmonth(date.now) }} 
    31

     

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

    Copyright © 2011 MindTouch, Inc. Powered by