|
webedition
- return true if Gsharp Web Edition
| Syntax: |
float
webedition() |
| Description: |
Return
true if this is the Gsharp Web Edition |
| Code
sample : |
#store form input to allow debugging with Gsharp
if webedition() then # running
export_folder("forminput.fold");
else # debugging
import_folder("forminput.fold");
endif
|
| See
also: |
batch,
appseat, version |
weekday
- extract day of week from a date dataset
| Syntax: |
float
weekday(date d) |
| Description: |
Extract
the day of week number of each element of d
- 1 = Monday,
2 = Tuesday, ..., 7 = Sunday
|
| Examples: |
d |
weekday(d) |
13-MAR-1970
14-APR-2000 |
5
5 |
| See
also: |
todate,
daynumber, yearnumber,
monthnumber, weeknumber |
weeknumber
- extract week number from a date dataset
| Syntax: |
float
weeknumber(date d) |
| Description: |
Extract
the week number of each element of d |
| Examples: |
d |
weeknumber(d) |
13-MAR-2000
14-APR-2000 |
11
15 |
| See
also: |
todate,
daynumber, yearnumber,
monthnumber |
weekrange
- return
range of dates
| Syntax: |
date
weekrange(string dates, float dstep) |
| Description: |
Return
all the Mondays that can be found within the extremes of dates
starting with the first one and then with a step of dstep |
| Example: |
dates
|
weekrange(dates,2)
|
29/6/1970
4/8/1970 |
29-JUN-1970
13-JUL-1970
27-JUL-1970 |
| See
also: |
midmonthrange, dayrange,
yearrange,
monthrange
|
|