datetime format

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

datetime format

Zhou, Kevin
dear friends
 
who could you tell if I could format datetime type into time type .Thanks.

 
 
 

This message has been scanned for viruses by MailControl



This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: datetime format

Hank Ratzesberger
 
Do you mean you have an <xforms:input> and you want only to
display the time?  I don't see a way to do that, you likely
would need some hidden inputs, defined in the instance but
no control bound to it, and an xs:time defined with an
input bound to it.
 
The xs:date should have the default format, no xs:pattern attribute
and you can select the time portion, substring-after(./full-date, "T" ).
or substring-after( string(./full-date),"T")
 
My best guess. 
 
Hank R.
UCSB
 
 
 
----- Original Message -----
Sent: Thursday, July 27, 2006 3:05 AM
Subject: [ops-users] datetime format

dear friends
 
who could you tell if I could format datetime type into time type .Thanks.

 
 

 

This message has been scanned for viruses by MailControl



This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: datetime format

Zhou, Kevin
In reply to this post by Zhou, Kevin
hi Hank
 
Yeah ,it is . I will try first. thanks
 
cheers
 
kevin
 
 


From: Hank Ratzesberger [mailto:[hidden email]]
Sent: 27 July 2006 20:08
To: [hidden email]
Subject: Re: [ops-users] datetime format

 
Do you mean you have an <xforms:input> and you want only to
display the time?  I don't see a way to do that, you likely
would need some hidden inputs, defined in the instance but
no control bound to it, and an xs:time defined with an
input bound to it.
 
The xs:date should have the default format, no xs:pattern attribute
and you can select the time portion, substring-after(./full-date, "T" ).
or substring-after( string(./full-date),"T")
 
My best guess. 
 
Hank R.
UCSB
 
 
 
----- Original Message -----
Sent: Thursday, July 27, 2006 3:05 AM
Subject: [ops-users] datetime format

dear friends
 
who could you tell if I could format datetime type into time type .Thanks.

 
 

 

This message has been scanned for viruses by MailControl



This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws