frentzen Posted February 8, 2008 Report Share Posted February 8, 2008 Hi, is there a way, to convert a string into a timestamp? The string contains dd.mm.yyyy hh:mm:ss Thanks for any help, Thomas Quote Link to comment
ned Posted February 8, 2008 Report Share Posted February 8, 2008 Yes. Take a look at the "Scan from String" primitive in the String pallette, and read the help for Format Specifiers, specifically %T which is used to format time. Quote Link to comment
Ton Plomp Posted February 8, 2008 Report Share Posted February 8, 2008 QUOTE(frentzen @ Feb 7 2008, 03:03 PM) Hi,is there a way, to convert a string into a timestamp? The string contains dd.mm.yyyy hh:mm:ss Thanks for any help, Thomas A suggestion is given http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=299002#M299002' target="_blank">here (dark side warning) It contains almost your string formatter: just remove the %3u Ton Quote Link to comment
frentzen Posted February 13, 2008 Author Report Share Posted February 13, 2008 ZITAT(tcplomp @ Feb 7 2008, 05:37 PM) A suggestion is given http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=299002#M299002' target="_blank">here (dark side warning)It contains almost your string formatter: just remove the %3u Ton Hi Ton, thanks for your support. That really helps! Thomas Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.