الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

كيف يمكن حساب الوقت

Featured Replies

بتاريخ:

لدي مشروع حضور وإنصراف الموظفين
كيف أقوم بحساب عدد الساعات
مثال
text item الاول يكون وقت الحضور
text item الثاني يكون وقت الأنصراف
text item الثالث لحساب ساعات العمل

بتاريخ:

SQL> CREATE TABLE dates (date1 DATE, date2 DATE);

Table created.

SQL>
SQL> INSERT INTO dates VALUES (SYSDATE, SYSDATE-1);

1 row created.

SQL> INSERT INTO dates VALUES (SYSDATE, SYSDATE-1/24);

1 row created.

SQL> INSERT INTO dates VALUES (SYSDATE, SYSDATE-1/60/24);

1 row created.

SQL> SELECT (date1 - date2) FROM dates;

DATE1-DATE2
-----------
	  1
.041666667
.000694444  




SQL> SELECT floor(((date1-date2)*24*60*60)/3600)
 2		 || ' HOURS ' ||
 3		 floor((((date1-date2)*24*60*60) -
 4		 floor(((date1-date2)*24*60*60)/3600)*3600)/60)
 5		 || ' MINUTES ' ||
 6		 round((((date1-date2)*24*60*60) -
 7		 floor(((date1-date2)*24*60*60)/3600)*3600 -
 8		 (floor((((date1-date2)*24*60*60) -
 9		 floor(((date1-date2)*24*60*60)/3600)*3600)/60)*60) ))
10		 || ' SECS ' time_difference
11	FROM dates;

TIME_DIFFERENCE
--------------------------------------------------------------------------------
24 HOURS 0 MINUTES 0 SECS
1 HOURS 0 MINUTES 0 SECS
0 HOURS 1 MINUTES 0 SECS

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.