SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Convert "English Time" back to "seconds past
Author Message
Post Convert "English Time" back to "seconds past 
Hi all

I desperately need help - I need to use the following output to populate and assign media manually to volDB:

000408 HCART NONE - - - --- - 109 11/11/2004 00:10 --- --- Scratch
000411 HCART NONE - - - --- - 38 01/08/2005 19:02 01/07/2005 00:01 Live
000416 HCART TLD 0 3 - 00_000_TLD - 55 01/24/2005 19:06 01/20/2005 17:05 Live
000419 HCART TLD 0 5 - 00_000_TLD - 46 10/15/2002 15:26 03/20/2003 10:46 NetBackup

I can do a 'vmadd' based on the above output, but I also need to assign the media, using fields 12 and 13 (e.g. 01/24/2005 19:06). The problem is that "vmquery -assignbyid" needs 'assigntime' in 10-digit format. How can I convert the date and time? (Testing on Solaris, need to do this on Linux.)

Regards

Marianne van den Berg
Professional Services
Lechabile Storage Solutions (PTY) Ltd
Tel: +27 (0)11 519 8134
Fax: +27 (0)11 519 8147
Mobile: +27 (0)82 468 8107
Email: Mariannev < at > LechabileSS.co.za
This e-mail and attachments relating thereto, is intended for the above-mentioned recipient. If you have received this e-mail in error, kindly notify the sender and delete it immediately as it contains information relating to the official business of Lechabile Storage Solutions (Pty) Limited, which is confidential, legally privileged and proprietary to Lechabile Storage Solutions (Pty) Limited. Lechabile Storage Solutions (Pty) Limited does not own and endorse any other content. The views and opinions expressed in this e-mail are those of the sender unless clearly stated as being those of Lechabile Storage Solutions (Pty) Limited.

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB