Was this page helpful?

Date.ParseISOWeek

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

    Takes a full ISO 8601 week-date (yyyy-Www-d) and translates it back to a standard date string.

    Usage Restrictions

    8.08 or later.

    Parameters

    Name Type Description
    isoweekdate str The ISO 8601 format week-date to translate.

    Result

    A standard date in short format.

    Samples

       Output

    To translate a full ISO 8601 week-date to a standard date:

    {{ date.ParseISOWeek("1999-W52-6") }} 

    1/1/2000

    Use the output in another date function:

    {{ date.date(date.ParseISOWeek("1999-W52-6")) }} 

    Sat, 01 Jan 2000

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

    Copyright © 2011 MindTouch, Inc. Powered by