Difference between revisions of "DateTime getWeekStart"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:General_Functions]]
 
[[Category:General_Functions]]

+
{{HelpFiles}}
 +
 
  
 
====DateTime_getWeekStart====
 
====DateTime_getWeekStart====

Revision as of 09:27, 12 December 2011




DateTime_getWeekStart

Return the start date of input week

Syntax

DateTime_getWeekStart(year,week);

Arguments

  • year: is number
  • week: number

Return value

array, in which:

  • DateTime_Year
  • DateTime_Month
  • DateTime_Day
  • DateTime_Hour
  • DateTime_Minute
  • DateTime_Second
  • DateTime_MilliSecond
  • DateTime_Week
  • DateTime_TimeZone: Timezone is login user's time zone

Example

number year = 2009;

number week = 23;

print(DateTime_getWeekStart(year,week));

//result: {2009,6,1,0,0,0,00,23,57}

Availability

Version 5.7