Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

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.

Differenz zwischen zwei "Datümern"

Empfohlene Antworten

Hi, hab mal wieder ne VBS Frage.

Wie kann ich ein Datum von einem anderen abziehen und so z.B. den Unterschied in Minuten ermitteln ?

PS: Ich weiss, dass das plural von Datum Daten ist ...

    Sub saddasd()
Dim das As Date
Dim das2 As Date
Dim das3 As Date

das = Now

das2 = Now

das3 = das2 - das
End Sub
[/PHP]

daten?

nich datumse? :D

edit:

geh einfach mal mitm debugger durch und warte bevor das datum 2 zugewiesen wird... (damit in das3 dann was drin steht ;) )

DateDiff ist dein freund:

differenzintagen = DateDiff("d",datum1, datum2)

s'Amstel

Vielen Dank,

habt ihr vielleicht gute URLs wo alle Funktionen von VBS schön aufgeführt sind ?

ja, z.b. die MSDN.

s'Amstel

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

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.