realtimeclock→get_dateTime()
realtimeclock→dateTime()
Retourne l'heure courante au format "AAAA/MM/JJ hh:mm:ss".
function get_dateTime( )
js
string get_dateTime( )
cpp
-(NSString*) dateTime
m
string get_dateTime( ): string
pas
function get_dateTime( ) As String
vb
string get_dateTime( )
cs
String get_dateTime( )
java
async Task<string> get_dateTime( )
uwp
get_dateTime( )
py
function get_dateTime( )
php
async get_dateTime( ): Promise<string>
ts
async get_dateTime( )
es
string get_dateTime( )
dnp
string get_dateTime( )
cp
YRealTimeClock
cmd
Retourne :
une chaîne de caractères représentant l'heure courante au format "AAAA/MM/JJ hh:mm:ss"
E n
c a s
d ' e r r e u r ,
YRealTimeClock.DATETIME_INVALID
www.yoctopuce.com
target
get_dateTime
d é c l e n c h e
8. Référence de l'API de haut niveau
u n e
e x c e p t i o n
.
YRealTimeClock
o u
r e t o u r n e
349