How to get date of 1 day before and open file choose

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 7
Joined: Jul 28, 2015
Company:

Hi guys,

I want to get date of 1 day before? How can I do that?

And I want to added external file and show them(photo, pdf, word etc.). How can I do that?

Could you help me, please?

Edited: Mehmet Tuğrul SARIÇİÇEK - Oct 03, 2015 02:02 PM
 
#2
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Oct 4, 2015
Company:

Hi, Mehmet Tuğrul SARIÇİÇEK

To get date of 1 day before you can use the construction:

Code
DateOfDayBefore = Date - 24*60*60;

 
#3
People who like this:0Yes/0No
Active user
Rating: 4
Joined: Mar 14, 2012
Company: GSPD

Code
DayBefore = BegOfDay(PreDay) - 1;
  ;)

 
#4
People who like this:0Yes/0No
Active user
Rating: 7
Joined: Jul 28, 2015
Company:

thank you

 
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.