Active Topics
Active Posts
Unanswered Posts
Search
Advanced
You are not logged in. [
Log In
]
Adagio Home Page
»
Forums
»
General Discussion
»
Technical Support
» GV 9.2A (140829) Week Number Function or Formula
Register User
Forum List
Calendar
Active Topics
Search
FAQ
Topic Options
#47343
-
09/23/15
10:17 AM
GV 9.2A (140829) Week Number Function or Formula
MarlonMF
Adagio Guru
Registered: 06/05/07
Posts: 126
Loc: Los Angeles, CA
Hello,
Does GridView have a function the get the week number of the date? Or is there a formula that I can use to get the week number of a date?
Marlon
Edited by MarlonMF (
09/23/15
10:28 AM
)
Top
#47345
-
09/23/15
10:40 AM
Re: GV 9.2A (140829) Week Number Function or Formula
[
Re: MarlonMF
]
Retired_Guy
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
Hi Marlon,
The next Upgrade to GridView will have this function, but how do you define you weeks? Do they start on a Sunday or a Monday? Is Jan 1-7 week #1, regardless of the day of the week? (in which case you can use:
Code:
(TODAY()-BEGINYEAR()+1)/7
for the simple case.
_________________________
Andrew Bates
Top
#47347
-
09/23/15
10:42 AM
Re: GV 9.2A (140829) Week Number Function or Formula
[
Re: Retired_Guy
]
MarlonMF
Adagio Guru
Registered: 06/05/07
Posts: 126
Loc: Los Angeles, CA
Hello Andrew,
Thanks for the information. We used Sunday as the start day of the week.
Marlon
Top
#47348
-
09/23/15
10:44 AM
Re: GV 9.2A (140829) Week Number Function or Formula
[
Re: MarlonMF
]
Retired_Guy
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
So, if January 1 is a Wednesday, then Week #1 goes from Jan 1 to Jan 4? Or does it go from December 29 to January 4?
_________________________
Andrew Bates
Top
#47351
-
09/23/15
11:14 AM
Re: GV 9.2A (140829) Week Number Function or Formula
[
Re: Retired_Guy
]
MarlonMF
Adagio Guru
Registered: 06/05/07
Posts: 126
Loc: Los Angeles, CA
On your example, Week #1 go from December 29 to January 4.
Marlon
Top
#47352
-
09/23/15
11:18 AM
Re: GV 9.2A (140829) Week Number Function or Formula
[
Re: MarlonMF
]
Retired_Guy
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
You may have to wait for the Upgrade to calculate this properly.
_________________________
Andrew Bates
Top
#47353
-
09/23/15
11:26 AM
Re: GV 9.2A (140829) Week Number Function or Formula
[
Re: Retired_Guy
]
MarlonMF
Adagio Guru
Registered: 06/05/07
Posts: 126
Loc: Los Angeles, CA
Thanks! I'll work with your formula and see what else I can do with it.
Marlon
Top
Previous Topic
Index
Next Topic
Preview
Hop to:
General Discussion ------
General Inquiries Forum
Technical Support
Moderator:
Christa_Meissner
Print Topic
Switch to Threaded Mode
View profile
Send a PM
View homepage
Add to your Watched Users
View posts
View profile
Send a PM
Add to your Watched Users
View posts
View profile
Send a PM
View homepage
Add to your Watched Users
View posts
View profile
Send a PM
Add to your Watched Users
View posts
View profile
Send a PM
View homepage
Add to your Watched Users
View posts
View profile
Send a PM
Add to your Watched Users
View posts
View profile
Send a PM
View homepage
Add to your Watched Users
View posts
Who's Online
1 registered (
AudreyQuick
), 62 Guests and 0 Spiders online.
Key:
Admin
,
Global Mod
,
Mod
Forum Stats
1865
Members
5
Forums
14458
Topics
70634
Posts
Max Online: 432 @
01/20/25
10:17 PM
April
Su
M
Tu
W
Th
F
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Privacy statement
·
Board Rules
·
Mark all read
Default Style
Forum-Style
Forum-Style-New
Softrak_Blue
Contact Us
·
Adagio Home Page
·
Top