Administration des comptes, (Web, Web Services, PDA, WidGet, Fat Client)
XAS.Services
  XML Kiosk  
Technologie XAS.Technology Version V 6.0.1
Dernière modification Vendredi 23 Avril 2010 Par Zaïr BEZGHICHE
Dernière vérification Jeudi 29 Avril 2010 Par Support France
ThèmeAdministration des comptes, (Web, Web Services, PDA, WidGet, Fat Client) Fonction CHECKMOD.CheckLongTimeFormat

Prototype
Function CheckLongTimeFormat (sTime As String) As Integer
Usage
Administration-des-comptes.CheckLongTimeFormat(...)
HTTP (GET,POST)SOAP WSDLSOAP RESTXML-RPC
Format de sortie
XML HTML TEXT EXCEL(CSV)

Code Source - développement open source
Function CheckLongTimeFormat (sTime As String) As Integer
Function CheckLongTimeFormat (sTime As String) As Integer
Dim ret%
Dim s$

CheckLongTimeFormat = False
If Len(sTime) <> 8 Then
    Exit Function
End If
s = Mid$(sTime, 3, 1)
If s <> Chr$(47) Then
    Exit Function
End If
s = Mid$(sTime, 6, 1)
If s <> Chr$(47) Then
    Exit Function
End If
s = Mid$(sTime, 1, 2)
If Val(s) > 23 Then
    Exit Function
End If
s = Mid$(sTime, 4, 2)
If Val(s) > 59 Then
    Exit Function
End If
s = Mid$(sTime, 7, 2)
If Val(s) > 59 Then
    Exit Function
End If

CheckLongTimeFormat = True

End Function

Références XAS.Technology
Len , Mid , Chr , Val ,

Audience
Cette documentation est destinée aux personnes s'intéressant aux systèmes d'information collaboratifs.
Les Webservices, les architectures collabortives et distribuées, les moteurs transactionnelles et les concepts de programmation orientés objet.


XAS Services - Zaïr BEZGHICHE - Copyright 1991-2011 tous droits réservés- Powered by XAS.Technology