Hi All,
Apologies for sending this request. I seem to have found out the solution. I wasted one whole hour trying to figure out something which was simple, but I seem to have over looked how the formatting is done. Please do not waste your time on this request. Apologies once again. Kind regards, Amitabh From: amitabhbo...@hotmail.com To: excel-macros@googlegroups.com Subject: Urgent help required with Date/Time Format Date: Fri, 7 Aug 2009 10:15:10 +0000 Hi All, I would be grateful if you could help me out with the following problem I am facing with regard to data formatting: The changes I need to make to the file are as follows: 1. I need to deduct one hour from the 'CaptureTime' field(column E) which is in seconds. This I have done by deducting 3600seconds. I have then divided this by 86400 to allow for the column to be formatted into hh:mm:ss 2. I then need to use this column and concatenate this field to the 'CaptureDate' field and get a field which is similar to the data in 'column G'. The problem I am facing is formatting the data to 'YYYY-MM-DD hh:mm:ss'. I have attached a file with sample data. Many thanks, Amitabh Match ‘n’ Make new friends with the cool match-meter. Join the Planet with you Hotmail ID. Drag n’ drop _________________________________________________________________ Log on to MSN India for a lowdown on what’s hot in the world today http://in.msn.com --~--~---------~--~----~------------~-------~--~----~ ---------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 5,200 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe -~----------~----~----~----~------~----~------~--~---