Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Exporting time from cell in 24 hr format

I know how to make a cell read the time in a 24 hour format of hh:mm. But the
issue is that I need to pull that same exact format and place it into a XML
script. Currently when this occurs it changes it to a 12 hour format. The XML
script I am having to populate also will not accept the use of the @ symbol
nor AM or PM, there fore to get the accurate time I must input into the XML
as a 24 hour. Any suggestions on how I might be able to accomplish this task?
The AM times do not create an issue its when I hit the PM times that the XML
manages to read say 17:00 as 05:00 then the application I am sending this to
reads it as 5:00 AM instead of 5:00 PM that I wanted.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Exporting time from cell in 24 hr format

Sorry if I'm confused here, but is this an XML question or an Excel question?

Can you post the XML you're using?

Dave
--
Brevity is the soul of wit.


"dhinrichs47" wrote:

I know how to make a cell read the time in a 24 hour format of hh:mm. But the
issue is that I need to pull that same exact format and place it into a XML
script. Currently when this occurs it changes it to a 12 hour format. The XML
script I am having to populate also will not accept the use of the @ symbol
nor AM or PM, there fore to get the accurate time I must input into the XML
as a 24 hour. Any suggestions on how I might be able to accomplish this task?
The AM times do not create an issue its when I hit the PM times that the XML
manages to read say 17:00 as 05:00 then the application I am sending this to
reads it as 5:00 AM instead of 5:00 PM that I wanted.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Exporting time from cell in 24 hr format

Here is the XML That I must input the time in a 24 hr format. The reason I am
using the Excel spreadsheet is because I am then able to set up a formula
working with the current time and then modify it to meet my needs, all
depending upon the particular test I am running. The XML is then sent over a
bus via a XSD script.

<?xml version="1.0" encoding="utf-16"?<WFACUpdateTroubleTicketRequest
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.qwest.com/XMLSchema"<WFARegion</WFARegion<RACFID<AuthorizationInfo
xmlns="http://www.qwest.com/XMLSchema/BIM"<UserId</UserId<Password</Password</AuthorizationInfo</RACFID<REQUEST<CONTRACT</CONTRACT<FUNCTION</FUNCTION<PASSWORD</PASSWORD<USERID</USERID<VERSION</VERSION<ZONE</ZONE</REQUEST<TRFCTREQ<CUR_GRP</CUR_GRP<CUR_POS</CUR_POS<DEST</DEST<DT_STAMP</DT_STAMP<END_DT</END_DT<END_TM</END_TM<FCT</FCT<START_DT</START_DT<START_TM</START_TM<TR</TR</TRFCTREQ</WFACUpdateTroubleTicketRequest

Hopefully this explains things a bit more.



"Dave F" wrote:

Sorry if I'm confused here, but is this an XML question or an Excel question?

Can you post the XML you're using?

Dave
--
Brevity is the soul of wit.


"dhinrichs47" wrote:

I know how to make a cell read the time in a 24 hour format of hh:mm. But the
issue is that I need to pull that same exact format and place it into a XML
script. Currently when this occurs it changes it to a 12 hour format. The XML
script I am having to populate also will not accept the use of the @ symbol
nor AM or PM, there fore to get the accurate time I must input into the XML
as a 24 hour. Any suggestions on how I might be able to accomplish this task?
The AM times do not create an issue its when I hit the PM times that the XML
manages to read say 17:00 as 05:00 then the application I am sending this to
reads it as 5:00 AM instead of 5:00 PM that I wanted.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Exporting time from cell in 24 hr format

I beleive I have figured this out and that deals with converting the time
after making the necessary calculations to a TEXT field. Now it is doing what
I was tryiing to accomplish.

"dhinrichs47" wrote:

Here is the XML That I must input the time in a 24 hr format. The reason I am
using the Excel spreadsheet is because I am then able to set up a formula
working with the current time and then modify it to meet my needs, all
depending upon the particular test I am running. The XML is then sent over a
bus via a XSD script.

<?xml version="1.0" encoding="utf-16"?<WFACUpdateTroubleTicketRequest
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.qwest.com/XMLSchema"<WFARegion</WFARegion<RACFID<AuthorizationInfo
xmlns="http://www.qwest.com/XMLSchema/BIM"<UserId</UserId<Password</Password</AuthorizationInfo</RACFID<REQUEST<CONTRACT</CONTRACT<FUNCTION</FUNCTION<PASSWORD</PASSWORD<USERID</USERID<VERSION</VERSION<ZONE</ZONE</REQUEST<TRFCTREQ<CUR_GRP</CUR_GRP<CUR_POS</CUR_POS<DEST</DEST<DT_STAMP</DT_STAMP<END_DT</END_DT<END_TM</END_TM<FCT</FCT<START_DT</START_DT<START_TM</START_TM<TR</TR</TRFCTREQ</WFACUpdateTroubleTicketRequest

Hopefully this explains things a bit more.



"Dave F" wrote:

Sorry if I'm confused here, but is this an XML question or an Excel question?

Can you post the XML you're using?

Dave
--
Brevity is the soul of wit.


"dhinrichs47" wrote:

I know how to make a cell read the time in a 24 hour format of hh:mm. But the
issue is that I need to pull that same exact format and place it into a XML
script. Currently when this occurs it changes it to a 12 hour format. The XML
script I am having to populate also will not accept the use of the @ symbol
nor AM or PM, there fore to get the accurate time I must input into the XML
as a 24 hour. Any suggestions on how I might be able to accomplish this task?
The AM times do not create an issue its when I hit the PM times that the XML
manages to read say 17:00 as 05:00 then the application I am sending this to
reads it as 5:00 AM instead of 5:00 PM that I wanted.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I convert numeric 0510 to time 05:10 by custom cell format? Rita_H Excel Discussion (Misc queries) 4 July 27th 06 01:41 PM
Format cell as military time Mike Excel Discussion (Misc queries) 10 July 18th 06 07:12 PM
how do I format the sheet so that I may click on 1 cell at a time Nikki B Excel Worksheet Functions 1 February 24th 06 06:35 PM
Excel Cell Format for Time Rich48 Excel Discussion (Misc queries) 1 January 26th 06 08:08 PM
calculating with a time format cell Mahnaz Excel Worksheet Functions 1 December 13th 04 10:21 AM


All times are GMT +1. The time now is 01:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"