elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Buscar Ingresar Registrarse
29 Mayo 2012, 09:00  


Tema destacado: [AIO elhacker.NET] Compilación herramientas análisis y desinfección malware

+  Foro de elhacker.net
|-+  Programación
| |-+  Programación Visual Basic (Moderadores: LeandroA, seba123neo, raul338)
| | |-+  [RETO] IsDate
0 Usuarios y 2 Visitantes están viendo este tema.
Páginas: 1 [2] Ir Abajo Respuesta Imprimir
Autor Tema: [RETO] IsDate  (Leído 2,677 veces)
BlackZeroX (Astaroth)
Wiki

Desconectado Desconectado

Mensajes: 2.832


I'Love...!¡.


Ver Perfil WWW
Re: [RETO] IsDate
« Respuesta #15 en: 1 Septiembre 2011, 07:46 »

El exit function es un goto enfundado (para mi)

Ammm nop  exit function seria como una semejansza Uniforme de return como en C/C++, ya que termina la funcion ( Aun que estaria equivocado... pero... tendremos que ver el ASM de una funcion/proceso en vb6 para ver y poder afirmarlo. )

Exit Funcion en mi logica viene siendo una cutre representacion o simulacion de invocar al return de la funcion y por ende su terminacion, mas no de ir al final de una funcion... igual abria que ver el ASM de una funcion en vb6... Puedo estar errado...

Aun con pruebas... se sabe...

Dulces Lunas!¡.


En línea

Web Principal-->[ Blog(VB6) | Host File (Public & Private) | Scan Port | (New)MyInfraPC (Descubre mi Contraseña venefi. $) ]



The Dark Shadow is my passion.
El infierno es mi Hogar, mi novia es Lilith y el metal mi
raul338
Moderador
***
Desconectado Desconectado

Mensajes: 2.372


La sonrisa es la mejor forma de afrontar las cosas


Ver Perfil WWW
Re: [RETO] IsDate
« Respuesta #16 en: 3 Septiembre 2011, 04:44 »

Resultados parciales
Código:
Testeo de calidad
==============================
31/07/2000 Tenient101 FAILS
30/07/2000 Tenient101 FAILS
01/02/2000 Tenient101 FAILS
25/05/2002 Tenient101 FAILS
15/07/2000 Tenient101 FAILS
28/02/2001 Tenient101 FAILS
31/05/2001 Tenient101 FAILS
30/12/2011 Tenient101 FAILS
29/02/2004 Tenient101 FAILS
01/01/2001 Tenient101 FAILS
31/12/9999 $Edu$ FAILS
31/12/9999 Tenient101 FAILS
29/02/2012 Tenient101 FAILS

Descargar proyecto de prueba


« Última modificación: 4 Septiembre 2011, 00:55 por raul338 » En línea

ignorantev1.1


Desconectado Desconectado

Mensajes: 424


/\ Así acabo cuando quiero programar...


Ver Perfil WWW
Re: [RETO] IsDate
« Respuesta #17 en: 3 Septiembre 2011, 05:21 »

@raul338

Probé el proyecto(el que pusiste para descargar) varias veces y los resultados varían mucho, hay veces que incluso mi función es la más rápida... ¿Por qué?

@BlackZerox
De qué va que a veces firmas "Dulces Lunas" y otras "Temibles Lunas"?  :silbar:
En línea


raul338
Moderador
***
Desconectado Desconectado

Mensajes: 2.372


La sonrisa es la mejor forma de afrontar las cosas


Ver Perfil WWW
Re: [RETO] IsDate
« Respuesta #18 en: 3 Septiembre 2011, 05:32 »

Por el uso del procesador, de todas formas, siempre prueba el proyecto COMPILADO! :D

PD: Mi version (iba a hacer algo asi para el IsNumeric pero Black me gano de mano :xD
Código
Public Function IsDate_r338(ByVal str As String) As Boolean
If str = vbNullString Then Exit Function
   Dim strp As Long
   strp = StrPtr(str)
If lstrlenW(strp) <> 10 Then Exit Function
 
   Dim j As Long, k As Long, dia As Long, mes As Long, año As Long, jp As Long
 
   jp = VarPtr(j)
   For k = 0 To 18 Step 2
       Call RtlMoveMemory(jp, strp + k, 1)
       Select Case k / 2
           Case 0
               If j < 48 And j > 51 Then Exit Function
               dia = (j - 48) * 10
           Case 1
               If j < 48 And j > 57 Then Exit Function
               dia = dia + (j - 48)
               If dia = 0 Or dia > 31 Then Exit Function
           Case 2, 5: If j <> 47 Then Exit Function
           Case 3
               If j <> 48 And j <> 49 Then Exit Function
               mes = (j - 48) * 10
           Case 4
               If j < 48 And j > 57 Then Exit Function
               mes = mes + (j - 48)
               If mes = 0 Or mes > 12 Then Exit Function
               If Not (mes = 1 Or mes = 3 Or mes = 5 Or mes = 7 Or mes = 8 Or mes = 10 Or mes = 12) And dia = 31 Then Exit Function
               If mes = 2 And dia > 29 Then Exit Function
           Case 6
               If j < 48 And j > 57 Then Exit Function
               año = (j - 48) * 1000
           Case 7
               If j < 48 And j > 57 Then Exit Function
               año = año + (j - 48) * 100
           Case 8
               If j < 48 And j > 57 Then Exit Function
               año = año + (j - 48) * 10
           Case 9
               If j < 48 And j > 57 Then Exit Function
               año = año + (j - 48)
 
               If mes = 2 And dia = 29 Then If Not (año Mod 4 = 0 And Not (año Mod 100 = 0 And año Mod 400 <> 0)) Then Exit Function
       End Select
   Next
   IsDate_r338 = True
End Function
 
« Última modificación: 4 Septiembre 2011, 00:46 por raul338 » En línea

BlackZeroX (Astaroth)
Wiki

Desconectado Desconectado

Mensajes: 2.832


I'Love...!¡.


Ver Perfil WWW
Re: [RETO] IsDate
« Respuesta #19 en: 3 Septiembre 2011, 08:36 »

.
jajaja, la funcion de Raul338 tiene un parecido a la mia... aun asi no se moldea automaticamente a formatos D/M/YYYY, DD/M/YYYY, D/MM/YYYY, etc..., aun asi es muy buena!¡.

Edito:

MODIFIQUE MI FUNCION ( Aqui [en donde estaba el anterior codigo.]), solo modifique unos cuantos rangos... despresiando la velocidad.

Desde cuando "y0/45/hola" es una fecha? respeto el formato DD/MM/YYYY que querian que tuviera.

Código
 
   sTests = Split("31/07/2000|30/07/2000|01/02/2000|25/05/2002|15/07/2000|28/02/2001|" & _
                   "31/05/2001|30/12/2011|29/02/2004|01/01/2001|31/12/9999|29/02/2012", "|")
   sFalses = Split("01/00/2011|31/04/2001|00/12/2011|00/00/2011|01/13/2011|30/02/2001|y0/45/hola|" & _
                   "29/02/2003|99/99/9999|32/12/9999|29/13/2000|LALA|00/00/0000|31/09/2011|y0/45/hola|", "|")
 
   Open App.Path & "\log.txt" For Output As #1
   Call txt(" === Reto IsDate ====")
   Call txt(Date$ & " " & Time$)
 
   Call txt("Testeo de calidad", True)
   For i = 0 To UBound(sTests)
       If modFunctions.heyIgnorante_isDate(sTests(i)) = False Then Call txt(sTests(i) & vbTab & "Ignorante v1.1 FAILS")
       If modFunctions.IsDate_7913_v2(sTests(i)) = False Then Call txt(sTests(i) & vbTab & "79137913 FAILS")
       If modFunctions.isDate_BlackZX(sTests(i)) = False Then Call txt(sTests(i) & vbTab & "BlackZeroX FAILS")
       If modFunctions.isDate_edu(sTests(i)) = False Then Call txt(sTests(i) & vbTab & "$Edu$ FAILS")
       If modFunctions.IsDate_T(sTests(i)) = False Then Call txt(sTests(i) & vbTab & "Tenient101 FAILS")
       If modFunctions.IsDate_r338(sTests(i)) = False Then Call txt(sTests(i) & vbTab & "Raul338 FAILS")
   Next
 
   Call txt("Testeo de falsos", True)
   For i = 0 To UBound(sFalses)
       If modFunctions.heyIgnorante_isDate(sFalses(i)) Then Call txt(sFalses(i) & vbTab & "Ignorante v1.1 FAILS")
       If modFunctions.IsDate_7913_v2(sFalses(i)) Then Call txt(sFalses(i) & vbTab & "79137913 FAILS")
       If modFunctions.isDate_BlackZX(sFalses(i)) Then Call txt(sFalses(i) & vbTab & "BlackZeroX FAILS")
       If modFunctions.isDate_edu(sFalses(i)) Then Call txt(sFalses(i) & vbTab & "$Edu$ FAILS")
       If modFunctions.IsDate_T(sFalses(i)) Then Call txt(sTests(i) & vbTab & "Tenient101 FAILS")
       If modFunctions.IsDate_r338(sFalses(i)) Then Call txt(sFalses(i) & vbTab & "Raul338 FAILS")
   Next
 
 

Al test de velocidades hay que hacerle una media de velocidad ya que a mi me salio esto... claro que igual me gana en otras ocasiones Raul338...

Código:

 === Reto IsDate ====
09-03-2011 01:43:19

Testeo de calidad
==============================
31/07/2000 Tenient101 FAILS
30/07/2000 Tenient101 FAILS
01/02/2000 Tenient101 FAILS
25/05/2002 Tenient101 FAILS
15/07/2000 Tenient101 FAILS
28/02/2001 Tenient101 FAILS
31/05/2001 Tenient101 FAILS
30/12/2011 Tenient101 FAILS
29/02/2004 Tenient101 FAILS
01/01/2001 Tenient101 FAILS
31/12/9999 $Edu$ FAILS
31/12/9999 Tenient101 FAILS
29/02/2012 Tenient101 FAILS

Testeo de falsos
==============================
01/00/2011 Raul338 FAILS
00/12/2011 Raul338 FAILS
00/00/2011 Raul338 FAILS
01/13/2011 Raul338 FAILS
32/12/9999 Raul338 FAILS
29/13/2000 Raul338 FAILS
00/00/0000 Raul338 FAILS
31/09/2011 $Edu$ FAILS


Testeo de velocidades
==============================
79.816 msec Ignorante v1.1
74.246 msec 79137913
10.764 msec BlackZeroX
108.810 msec $Edu$
63.844 msec Tenient101
12.090 msec Raul338


Sangriento Infierno Lunar!¡.
« Última modificación: 3 Septiembre 2011, 09:13 por BlackZeroX▓▓▒▒░░ » En línea

Web Principal-->[ Blog(VB6) | Host File (Public & Private) | Scan Port | (New)MyInfraPC (Descubre mi Contraseña venefi. $) ]



The Dark Shadow is my passion.
El infierno es mi Hogar, mi novia es Lilith y el metal mi
$Edu$


Desconectado Desconectado

Mensajes: 1.416



Ver Perfil
Re: [RETO] IsDate
« Respuesta #20 en: 3 Septiembre 2011, 20:54 »

A ver que yo nunca hago retos, quiero saber que hice mal yo xD y que es eso de que falla con el año 9999? no es una fecha eso? digo por lo del codigo de ignorante..
En línea

"Todos somos muy ignorantes. Lo que ocurre es que no todos ignoramos las mismas cosas." - Albert Einstein.
raul338
Moderador
***
Desconectado Desconectado

Mensajes: 2.372


La sonrisa es la mejor forma de afrontar las cosas


Ver Perfil WWW
Re: [RETO] IsDate
« Respuesta #21 en: 4 Septiembre 2011, 00:41 »

A ver que yo nunca hago retos, quiero saber que hice mal yo xD y que es eso de que falla con el año 9999? no es una fecha eso? digo por lo del codigo de ignorante..


Quiere decir que tu funcion no devuelve como se espera, en la sección "Testeo de calidad" tu funcion deberia devolver TRUE pero devuelve false, si esta en "Testeo de falsos" tu funcion devuelve true y deberia ser falsos :xD

Utilizando mi ultima versión y la ultima de Black con 500000 vueltas por prueba

Código:
Testeo de velocidades
==============================
529,028 msec Raul338
532,471 msec BlackZeroX
3.522,390 msec 79137913
3.797,892 msec Tenient101
3.887,114 msec Ignorante v1.1
5.204,378 msec $Edu$
« Última modificación: 4 Septiembre 2011, 00:55 por raul338 » En línea

$Edu$


Desconectado Desconectado

Mensajes: 1.416



Ver Perfil
Re: [RETO] IsDate
« Respuesta #22 en: 4 Septiembre 2011, 01:20 »

Si raul lo se -_-' xD pero me refiero a porque si yo habia probado todos y andaban bien, y que es eso del codigo de ignorante que un año no puede ser mayor a 9999? xD
En línea

"Todos somos muy ignorantes. Lo que ocurre es que no todos ignoramos las mismas cosas." - Albert Einstein.
BlackZeroX (Astaroth)
Wiki

Desconectado Desconectado

Mensajes: 2.832


I'Love...!¡.


Ver Perfil WWW
Re: [RETO] IsDate
« Respuesta #23 en: 4 Septiembre 2011, 06:58 »

@$Edu$

Seguramente solo es por que asi esta definido como reto, vaya puede ser del año -infinito hasta infinito tomando en cuenta que el 0 es donde se dice que es la era cristiana... y los numeros negativos los años A.C., pero claro como no hay años negativos (signo negativo) se pueden interpretar como A.C. y no D.C ( Actualidad ).

Dulces Lunas!¡.
En línea

Web Principal-->[ Blog(VB6) | Host File (Public & Private) | Scan Port | (New)MyInfraPC (Descubre mi Contraseña venefi. $) ]



The Dark Shadow is my passion.
El infierno es mi Hogar, mi novia es Lilith y el metal mi
Psyke1
Wiki

Desconectado Desconectado

Mensajes: 1.005



Ver Perfil WWW
Re: [RETO] IsDate
« Respuesta #24 en: 12 Septiembre 2011, 03:47 »

Un poco tarde... :silbar: aquí está la mía:

Código
Option Explicit
Private Const sMonths$ = "01 02 03 04 05 06 07 08 09 10 11 12"
Private Const s31Months$ = " 1 3 5 7 8 01 03 05 08 10 12 "
Private Const sDays$ = sMonths & " 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31"
 
'// Acepta formatos: DD/MM/YYYY, D/MM/YYYY y DD/M/YYYY.
Public Static Function IsDate_Psyke1(ByRef sDate$) As Boolean
Dim sDay$, sMonth$, sYear$, lp1&, lp2&
   If LenB(sDate) < &H16 And LenB(sDate) > &HE Then
       lp1 = InStrB(1, sDate, "/", vbBinaryCompare)
       If lp1 = 0 Then Exit Function
 
       sDay = LeftB$(sDate, lp1 - 1)
       If InStrB(1, sDays, sDay, vbBinaryCompare) Then
           lp2 = InStrB(lp1 + 1, sDate, "/", vbBinaryCompare)
           If lp2 = 0 Then Exit Function
 
           sMonth = MidB$(sDate, lp1 + 2, lp2 - lp1 - 2)
           If InStrB(1, sMonths, sMonth, vbBinaryCompare) Then
               sYear = RightB$(sDate, 8)
               If Not (sYear Like "####") Then Exit Function
 
               If InStrB(1, "02", sMonth, vbBinaryCompare) Then
                   If InStrB(1, "29", sDay, vbBinaryCompare) Then
                       IsDate_Psyke1 = ((sYear Mod &H4 = 0) And (sYear Mod &H64) Or (sYear Mod &H190 = 0))
                       Exit Function
                   ElseIf InStrB(1, "30", sDay, vbBinaryCompare) Then
                       Exit Function
                   End If
               ElseIf InStrB(1, "31", sDay, vbBinaryCompare) Then
                   IsDate_Psyke1 = InstrB(1, s31Months, sMonth, vbBinaryCompare)
                   Exit Function
               End If
 
               IsDate_Psyke1 = True
           End If
       End If
   End If
End Function

Tests:
Código
Private Sub Form_Load()
Const sLine$ = "----------------------------------------"
 
   Debug.Print sLine; "TRUE"; sLine
   Debug.Print IsDate_Psyke1("31/07/2000")
   Debug.Print IsDate_Psyke1("29/02/2004")
   Debug.Print IsDate_Psyke1("15/07/2000")
   Debug.Print IsDate_Psyke1("30/12/2011")
 
   Debug.Print sLine; "FALSE"; sLine
   Debug.Print IsDate_Psyke1("29/02/2003")
   Debug.Print IsDate_Psyke1("01/13/2011")
   Debug.Print IsDate_Psyke1("30/02/2001")
   Debug.Print IsDate_Psyke1("00/12/2011")
   Debug.Print IsDate_Psyke1("as/12/2000")
   Debug.Print IsDate_Psyke1("13/as/2000")
   Debug.Print IsDate_Psyke1("-31/44/2070")
   Debug.Print IsDate_Psyke1("31/12/20s0")
End Sub

Resultado:
Código:
----------------------------------------TRUE----------------------------------------
True
True
True
True
----------------------------------------FALSE----------------------------------------
False
False
False
False
False
False
False
False


Ahora con el proyecto de raul338 (compilado y con la función de BlackZeroX actualizada), los tests me dicen que devuelve resultados correctos, y en cuanto a velocidad me dio esto:
Código:
Testeo de velocidades
==============================
43,920 msec Ignorante v1.1
35,993 msec 79137913
21,728 msec BlackZeroX
73,901 msec $Edu$
89,051 msec Tenient101
27,381 msec Raul338
16,374 msec Psyke1

@Raul338, @Ignorante :
Código
    Debug.Print IsDate_r338("31/12/20f0")         ' = True.. xD
   Debug.Print heyIgnorante_isDate("31/12/25y0") ' = True.. xD

Por tanto las funciones que dan resultados correctos:
Código:
Testeo de velocidades
==============================
35,993 msec 79137913
21,728 msec BlackZeroX
16,374 msec Psyke1



@BlackZeroX:
Me gustaría que me explicaras un par de cosas de tu código, si te pillo por el msn te molesto, que hace mucho que no hablamos. :-*

DoEvents! :P
« Última modificación: 14 Septiembre 2011, 01:13 por Psyke1 » En línea

Tenient101

Desconectado Desconectado

Mensajes: 127


Ver Perfil
Re: [RETO] IsDate
« Respuesta #25 en: 13 Septiembre 2011, 03:58 »

Yo igual repare la mia...  :rolleyes:

Código
Public Function IsDate_T(ByRef Expresion As String) As Boolean
On Error GoTo err
Dim A           As Integer
Dim B           As Integer
Dim C           As Integer
Dim P1          As Integer
Dim P2          As Integer
Dim F           As Boolean
Dim F2          As Boolean
 
           P1 = InStr(1, Expresion, "/")
           If (Not CBool(P1)) Then Exit Function
           P2 = InStr(P1 + 1, Expresion, "/")
           If (Not CBool(P2)) Then Exit Function
 
           A = Mid(Expresion, 1, P1 - 1)
           B = Mid(Expresion, P1 + 1, P2 - P1 - 1)
           C = Mid(Expresion, P2 + 1, Len(Expresion))
 
           If (A And &H20) Then Exit Function
           If (C And &H8000) Then Exit Function
 
           If (B And &H8) Then
               P1 = (B - &H8)
               If (P1 And &H4) Then
                   P1 = (P1 - &H4)
                   If (P1 And &H1) Then
                       Exit Function
                   Else
                       F2 = True
                   End If
               Else
                   If (P1 And &H2) Then
                       P1 = (P1 - &H2)
                       If (P1 Or &H0) = &H0 Then F2 = True
                   Else
                       If (P1 Or &H0) = &H0 Then F2 = True
                   End If
               End If
           Else
               If (B And &H4) Then
                   P1 = (B - &H4)
                   If (P1 And &H2) Then
                       P1 = (P1 - &H2)
                       If (P1 And &H1) Then F2 = True
                   Else
                       If (P1 And &H1) Then F2 = True
                   End If
               Else
                   If (B And &H2) Then
                       P1 = (B - &H2)
                       If (P1 And &H1) Then F2 = True
                   Else
                       If (B And &H1) Then F2 = True
                   End If
               End If
           End If
 
           If (C And &H2000) Then
               P1 = (P1 - &H2000)
               If (P1 And &H400) Then
                   P1 = (P1 - &H400)
                   If (P1 And &H200) Then
                       P1 = (P1 - &H200)
                       If (P1 And &H100) Then
                           P1 = (P1 - &H100)
                           If (P1 And &H10) Then Exit Function
                       End If
                   End If
               End If
           End If
 
           F = (((Not CBool((C Mod &H4))) And CBool(C Mod &H64)) Or (Not CBool(C Mod &H190)))
 
           IsDate_T = True
 
           If (A And &H10) Then
               P1 = (A - &H10)
               If (P1 And &H10) Then
                   If ((Not F2) And (Not F)) Then IsDate_T = False
               Else
                   If (P1 And &H8) Then
                       P1 = (P1 - &H8)
                       If (P1 And &H4) Then
                           P1 = (P1 - &H4)
                           If P1 Then
                               If (B = &H2) Then
                                   If (Not F) Then
                                       IsDate_T = False
                                   Else
                                       If (Not (P1 = &H1)) Then IsDate_T = False
                                   End If
                               Else
                                   If (P1 And &H2) Then
                                       P1 = (P1 - &H2)
                                       If (P1 And &H1) Then
                                           IsDate_T = F2
                                       Else
                                           If (P1 Or &H0) = &H0 Then
                                               IsDate_T = F2
                                           Else
 
                                               IsDate_T = Not F2
                                           End If
                                       End If
                                   End If
                               End If
                           End If
                       End If
                   End If
               End If
           End If
err:
End Function

@Psyke1: "31/02/2011" = True  :o

Salu2!
« Última modificación: 13 Septiembre 2011, 17:59 por Tenient101 » En línea
Psyke1
Wiki

Desconectado Desconectado

Mensajes: 1.005



Ver Perfil WWW
Re: [RETO] IsDate
« Respuesta #26 en: 13 Septiembre 2011, 07:34 »

Ook, gracias, se me escapó una cosa, sólo fue cambiar el orden de un If... :silbar:

DoEvents! :P
En línea

Psyke1
Wiki

Desconectado Desconectado

Mensajes: 1.005



Ver Perfil WWW
Re: [RETO] IsDate
« Respuesta #27 en: 13 Septiembre 2011, 12:55 »

Mi nueva minifunción (no es para ir rápido, pero creo que es la manera más corta de hacerlo):
Código
Option Explicit
 
'// Acepta formatos: DD/MM/YYYY, D/MM/YYYY y DD/M/YYYY.
Public Static Function IsDate_Psyke12(ByRef sDate$) As Boolean
On Error Resume Next
   IsDate_Psyke12 = InStrB(1, CDate(sDate), sDate, vbBinaryCompare)
End Function

La más rápida que se me ocurre:
Código
Option Explicit
 
'// Acepta formatos: DD/MM/YYYY, D/MM/YYYY y DD/M/YYYY.
Public Static Function IsDate_Psyke13(ByRef sDate$) As Boolean
Dim lDay&, lMonth&, lYear&, lp1&
On Error GoTo DateError
 
   lp1 = InStrB(1, sDate, "/", vbBinaryCompare)
   If lp1 = 0 Then Exit Function
 
   lYear = RightB$(sDate, 8)
 
   lDay = LeftB$(sDate, lp1 - 1)
   If lDay > 31 Then Exit Function
   If lDay < 1 Then Exit Function
 
   lMonth = MidB$(sDate, lp1 + 2, InStrB(lp1 + 1, sDate, "/", vbBinaryCompare) - lp1 - 2)
   Select Case lMonth
       Case Is > 12, Is < 1
           Exit Function
       Case 2
           If lDay = 29 Then
               IsDate_Psyke13 = ((lYear Mod &H4 = 0) And (lYear Mod &H64) Or (lYear Mod &H190 = 0))
               Exit Function
           ElseIf lDay > 29 Then
               Exit Function
           End If
       Case Else
           If lDay = 31 Then
               Select Case lMonth
                   Case 1,3,5,7,8,10,12
                       IsDate_Psyke13 = True
               End Select
               Exit Function
           End If
   End Select
 
   IsDate_Psyke13 = True
   Exit Function
DateError:
End Function

@Tenient101
Quizás un poco larga, pero me gustó la idea, por cierto:
Código:
Testeo de calidad
==============================
30/07/2000 Tenient101 FAILS
30/12/2011 Tenient101 FAILS
31/12/9999 $Edu$ FAILS

Resultados:
Código:
Testeo de velocidades
==============================
43,271 msec Ignorante v1.1
43,986 msec 79137913
21,627 msec BlackZeroX
60,085 msec $Edu$
20,118 msec Tenient101
27,267 msec Raul338
18,805 msec Psyke1
29,638 msec Psyke12
12,705 msec Psyke13
23,933 msec IsDate (función original de vb)

IsDate() PWND! :xD


DoEvents! :P
« Última modificación: 14 Septiembre 2011, 21:32 por Psyke1 » En línea

Tenient101

Desconectado Desconectado

Mensajes: 127


Ver Perfil
Re: [RETO] IsDate
« Respuesta #28 en: 13 Septiembre 2011, 18:06 »

Ya esta corregida  :rolleyes:, pero dos funciones tuyas siguen dando fail

Citar
"31/11/2011" --- Psyke1
"31/11/2011" --- Psyke13

Salu2 !
En línea
Psyke1
Wiki

Desconectado Desconectado

Mensajes: 1.005



Ver Perfil WWW
Re: [RETO] IsDate
« Respuesta #29 en: 13 Septiembre 2011, 18:38 »

Ook, ya están bien, recordemos que aún estoy engrasando motores, que llevo tiempo sin programar, ando oxidado.
Venga, ¿a qué esperáis? ¡otro reto ya!

DoEvents! :P
En línea

Páginas: 1 [2] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
reto en VB6
Ingeniería Inversa
ellolo 1 729 Último mensaje 15 Abril 2005, 10:03
por UnpaCker!
Reto
Bugs y Exploits
Blakord 9 1,223 Último mensaje 2 Julio 2005, 03:18
por BenRu
Reto CD Mac OS X
Mac OS X
@ZeRo~bLuE@ 0 1,378 Último mensaje 13 Febrero 2006, 01:53
por @ZeRo~bLuE@
Un reto !!! « 1 2 »
Programación Visual Basic
VirucKingX 24 2,752 Último mensaje 8 Mayo 2006, 23:36
por Kizar
Reto WPA
Hacking Wireless
tremola 6 821 Último mensaje 14 Junio 2006, 23:42
por o2T7f6j2
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines