{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

DatePart

Returns date part of of inputDateTime. The intervalType is a string specification of the date part that should extracted:

  • yyyy: the year
  • q: the quarter
  • m: the month
  • d: the day
  • w: the week day
  • ww: the week in this year
  • h: the hour
  • n: the minutes
  • s: the seconds
  • ms: the milliseconds

Usage:

DatePart( intervalType, inputDateTime )
DatePart( intervalType, inputDateTime, firstDayOfWeek )
DatePart( intervalType, inputDateTime, firstDayOfWeek, firstWeekOfYear )

Parameters:

intervalType String specification of the date part that should extracted
inputDateTime DateTime that date part will be returned
firstDayOfWeek Defines the first day of week, see: First Day of Week constants.
firstWeekOfYear Defines the first week of the year, see: First Week of Year constants.

Returns:

Number value

i-net Clear Reports
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - DatePart