Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function Datediff
Message
De
24/04/2007 10:55:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/04/2007 17:22:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01219117
Message ID:
01219345
Vues:
7
>Hello, is there a function in VFP like Datediff of SqlServer or Ms-Excel.
>Because i need to look for the amount of minute between to datetime.
>
>saludos desde Santo Domingo,

No there isn't one like that (SQL server's is sort of buggy). However date and datetime types support + and - operators overloaded. ie:

lnMinutesDifference = (m.ltDateTime2 - m.ltDatetime1) / 60

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform