• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Current Date Theme Object Introduction

DNN Version: 09.02.00
• 1 minute to read
 • 1 minute to read

Displays the current date

Current Version: 01.00.00

Include in Theme

ASCX

<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %>  
<dnn:CurrentDate runat="server" id="dnnCurrentDate" />

HTML Token

[CURRENTDATE]

HTML Object Token

<object id="dnnCURRENTDATE" codetype="dotnetnuke/server" codebase="CURRENTDATE"></object>
Attribute Description Default Posssible Values DNN Version
CssClass CSS Class of the rendered SkinObject A Valid CSS Class 01.00.00
DateFormat Format string for the Date text.
If this is left empty the Dat
Date Format of the current language. A valid (.NET Date Format)[https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings] 01.00.00
Back to top by the community, for the community... #DNNCMS