Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > How to get date of 1 day before and open file choose

Forum

Search UsersRules
How to get date of 1 day before and open file choose
#1
Active user
Points:: 0
Joined:: Jul 28, 2015

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?

Profile
#2
Just came
Points:: 0
Joined:: Oct 4, 2015

Hi, Mehmet Tuğrul SARIÇİÇEK

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

Code
DateOfDayBefore = Date - 24*60*60;

Profile
#3
Active user
Points:: 0
Joined:: Mar 14, 2012

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

Profile
#4
Active user
Points:: 0
Joined:: Jul 28, 2015

thank you

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.