Visual Basic - S.O.S, hora del sistema, sin time y now

Life is soft - evento anual de software empresarial
 
Vista:

S.O.S, hora del sistema, sin time y now

Publicado por abel (7 intervenciones) el 07/09/2000 00:00:00
Hola a todos
full urgente, necesito para mañana viernes 15 de setiembre, hasta las 10:00 am
lo sgte
hallar la hora del sistema sin usar time, now
Confio en vosotros.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:S.O.S, hora del sistema, sin time y now

Publicado por Paco Blasco (4 intervenciones) el 08/09/2000 00:00:00
Prueba a utilizar la siguiente función de API:

Public Declare Sub GetLocalTime Lib "kernel32" (lpSystemTime As SYSTEMTIME)
Public Type SYSTEMTIME
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type

Private Sub cmdButton1_Click()
Dim lp1 As SYSTEMTIME
Call GetLocalTime(lp1)
End Sub
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar