Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Question a...
 
Notifications
Clear all

[SOLVED] Question about firstDayofWeek

2 Posts
2 Users
0 Reactions
3,171 Views
koorosh
(@keloniton)
Posts: 47
Active Member
Topic starter
 
[#2961]

Hello
I will be thanksful if you help me with the following matters:
1- the function which is named firstDayofWeek in tool/projeqtor.php line 2117-2123: I am trying to replace the present software calander with the persian Jalali calander. I do not understand the main concept of 11,7 and 3 in line 2119. What do these numbers refer to? What is the main logic of mondayoffset?
2- Are the sql tables and fields made at first run? where is their building related source code?
Thanks in advance.


 
Posted : 25 Jan 2016 18H38
(@babynus)
Posts: 14952
Member Admin
 

- the function which is named firstDayofWeek in tool/projeqtor.php line 2117-2123: I am trying to replace the present software calander with the persian Jalali calander. I do not understand the main concept of 11,7 and 3 in line 2119. What do these numbers refer to? What is the main logic of mondayoffset?

Sorry, I could not explain.
This function was found on the web. ( http://board.phpbuilder.com/showthread.php?10222903-Get-Week-s-Starting-date)
It gets first monday of a given week.

2- Are the sql tables and fields made at first run? where is their building related source code?
Thanks in advance.

tables are created and modified incrementally, from scripts in /db/
look intio /db/maintenance.php for how it works.


 
Posted : 26 Jan 2016 23H05
Share:

Scroll to Top