Administration des entités, (Web, Web Services, PDA, WidGet, Fat Client)
XAS.Services
  XML Kiosk  
Technologie XAS.Technology Version V 6.0.1
Dernière modification Lundi 21 Juin 2010 Par Zaïr BEZGHICHE
Dernière vérification Mercredi 7 Juillet 2010 Par Support France
ThèmeAdministration des entités, (Web, Web Services, PDA, WidGet, Fat Client) Fonction CHECKMOD.CheckDateTimeFormat

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

Code Source - développement open source
Function CheckDateTimeFormat (sDateTime As String) As Integer
Function CheckDateTimeFormat (sDateTime As String) As Integer
Dim ret%
Dim s$
Dim s1$

CheckDateTimeFormat = False

If Len(sDateTime) <> 17 Then
    Exit Function
End If
s = Mid$(sDateTime, 1, 8)
If CheckShortDateFormat(s) = False Then
    Exit Function
End If
s = Mid$(sDateTime, 10, 8)
If CheckShortTimeFormat(s) = False Then
    Exit Function
End If
s1 = " "
s = Mid$(sDateTime, 9, 1)
If s <> s1 Then
    Exit Function
End If

CheckDateTimeFormat = True

End Function

Références Composants
Administration-des-entites-CHECKMOD-CheckShortDateFormat, Administration-des-entites-CHECKMOD-CheckShortTimeFormat,

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

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