How to calculate difference between dates in hours

Understanding basics of 1C:Enterprise platform. To start working with 1C:Enterprise platform visit Getting started page

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Jul 29, 2015
Company: Tarz Yazılım

Hello there
After entering the start date and end date-time-clock time (in the form of day-to-hour) How were computed.

BaşlangıçTarihi:x-x
BitişTarihi:x-x
ÜretimSüresi:?-?

 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Samet Gökdaş.

As I understood, you want to calculate the difference between two dates in hours, right?
In that case,

Code
ProductionTime = (EndTime - StartTime) / (60*60);

 
#3
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Jul 29, 2015
Company: Tarz Yazılım

Thank you very much  :D

 
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.