List of dates between two dates

Common questions about 1C:Query language, Query builder tool and Data composition schema

#1
People who like this:0Yes/0No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Hi

Anyone who know how to in query or in data compsition schema obtain list of dates between two dates (in day periodicity)???

After it, to get last slice from periodik information register to each date in obtained datelist (in query and data composition schema).???

Edited: Murat Yazlıyev - Apr 18, 2013 04:38 PM
 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

You can supplement dates range with all dates between start and end date using the DCS report settings. These settings are available for group fields of Date type.

If you need it to get dates for query, you will need to keep this data in your infobase. For example create an information register Calendar and keep information about each day for each year when your company operates. In addition you can keep holidays information there for salary calculation purposes.

Download hour.png (11.27 KB)
 
#3
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Here are some articles, you might be interested in:
Splitting query result into time periods
Calculating totals by balance fields
Frequency distribution for documents

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.