Aller au contenu principal

CMS_VALUE_PARAM mit dem heutigen Datum ohne Zeit definieren

Commentaires

1 commentaire

  • Zendesk API User
    Author: fyf - 9/6/2016 14:13

    Hi,

    #global.now lifert dir ein Date.

    Date kann in verschiedenen Formate ausgegeben werden.

    Das hier kannst du verwenden, vielleicht hilft es dir... ;-)

    Für die Formatierung ohne die Urhzeit... format("dd.MM.yyyy") oder format("dd - MM - yyyy") oder ...usw...

    <CMS_VALUE_PARAM name="heute" value="#global.now.timeZone("UTC").format("dd.MM.yyyy")" >

    Weitere Formatierungen Beispiele:

    #global.now.timeZone("UTC").format("dd.MM.yyyy")

    #global.now.timeZone("UTC").format("dd.MM.yyyy hh:mm:ss")

    #global.now.timeZone("UTC").format("dd.MM.yyyy hh:mm:ss z")

    Hier kannst du eine Diskussion zu einem ähnlichen Thema Lesen https://community.e-spirit.com/message/9214#9214

    Beste Grüße

    Fabrice

    0

Vous devez vous connecter pour laisser un commentaire.