Difference between revisions of "DateTime getWeekEnd"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:General_Functions]]
 
[[Category:General_Functions]]

+
{{HelpFiles}}
  
====DateTime_getWeekEnd====
 
  
Return the end date of input week
+
==== DateTime_getWeekEnd ====
  
'''Syntax'''
+
Return the end date of input week
  
DateTime_getWeekEnd(year,week);
+
'''Syntax'''
  
'''Arguments'''
+
DateTime_getWeekEnd(year,week);
  
* year: is number
+
'''Arguments'''
* week: number
 
  
'''Return value'''
+
*year: is number
 +
*week: number
  
array, in which:
+
'''Return value'''
  
* DateTime_Year
+
array, in which:  
* DateTime_Month
 
* DateTime_Day
 
* DateTime_Hour
 
* DateTime_Minute
 
* DateTime_Second
 
* DateTime_MilliSecond
 
* DateTime_Week
 
* DateTime_TimeZone: Timezone is login user's time zone
 
  
'''Example'''
+
*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
  
number year = 2009;
+
'''Example'''
  
number week = 23;
+
''number year = 2009; ''
  
print(DateTime_getWeekEnd(year,week));
+
''number week = 23; ''
  
//result: {2009,6,7,0,0,0,00,23,57}
+
''print(DateTime_getWeekEnd(year,week)); ''
  
'''Availability'''
+
''//result: {2009,6,7,0,0,0,00,23,57} ''
  
Version 5.7
+
'''Availability'''
__NOTOC__
+
 
<!-- imported from file: 7542.htm-->
+
Version 5.7 __NOTOC__ <!-- imported from file: 7542.htm-->

Latest revision as of 08:42, 21 December 2011




DateTime_getWeekEnd

Return the end date of input week

Syntax

DateTime_getWeekEnd(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_getWeekEnd(year,week));

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

Availability

Version 5.7