cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

timestamp conversion

¡Resuelto!
Ir a solución
In the attached LV2009 snippet, I use the "%d%b%Y %H:%M" to format the TimeStamp into a date/time that looks like this:  03/Dec/2009 10:33.  Now what I want to do is receive a string (in that same format) and stuff it back into a TimeStamp.  How can I do this?
0 kudos
Mensaje 1 de 10
7.059 Vistas

Here is how I would do it

 

Example.png

Tim
GHSP
Mensaje 2 de 10
7.052 Vistas

mrbean wrote:
In the attached LV2009 snippet, I use the "%d%b%Y %H:%M" to format the TimeStamp into a date/time that looks like this:  03/Dec/2009 10:33. 

That's not the format your VI creates. In fact, your strings look like: "txtHDate1=22Oct2009 06:45". Is the text "txtHDate1=" part of the input string? I also don't see any slashes. 

0 kudos
Mensaje 3 de 10
7.048 Vistas

Correction

 

Example.png

Tim
GHSP
0 kudos
Mensaje 4 de 10
7.043 Vistas
Solución
Aceptado por mrbean
My first example work witht the format that you are actually generating the second work with what you said you were generating.
Tim
GHSP
Mensaje 5 de 10
7.041 Vistas
Thanks all for the extremely quick response.  That worked perfectly.
0 kudos
Mensaje 6 de 10
7.015 Vistas

whats the name of  the function used here ? i am having problem finding it. Could cou attach this vi as attachment ?

0 kudos
Mensaje 7 de 10
6.637 Vistas

It is scan from string

 

Example.png

Tim
GHSP
0 kudos
Mensaje 8 de 10
6.628 Vistas

It's the Format Into String function. It's in the String palette.

0 kudos
Mensaje 9 de 10
6.627 Vistas

great! thanxx

0 kudos
Mensaje 10 de 10
6.621 Vistas