Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
how to show only time in datepikcer with time control
You can always use the..
XSLT:<xsl:value-ofselect="umbraco.library:FormatDateTime($currentPage/@updateDate, 'MMMM d, yyyy')"/>
Hi Siva
Date-Picker controls follow asp.net rules regarding dateTime functions, so you can write .ToString()
This blog post indentifies some options http://www.4guysfromrolla.com/articles/111010-1.aspx
In V6.0.2 razor you could use @CurrentPage.Date.ToString("d") and it will give date as 11/8/2010 if this is the date picked from the date-picker with the property alias of date.
Hope it is useful
G
no i want only timepicker user interface (not the value).how to do it ?
Dont think there is an easy way to "hide" the date part in the Umbraco UI.
How about using 2 uComponents sliders with 0 to 24 and 0 to 59 as ranges? In theory it is the same.
http://ucomponents.codeplex.com/wikipage?title=Slider
Certainly is an option if you are using v4. Would need to check compatability with v6.
Regards
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
how to show only time in datepikcer with time control?
how to show only time in datepikcer with time control
You can always use the..
XSLT:
<xsl:value-ofselect="umbraco.library:FormatDateTime($currentPage/@updateDate, 'MMMM d, yyyy')"/>
Hi Siva
Date-Picker controls follow asp.net rules regarding dateTime functions, so you can write .ToString()
This blog post indentifies some options http://www.4guysfromrolla.com/articles/111010-1.aspx
In V6.0.2 razor you could use @CurrentPage.Date.ToString("d") and it will give date as 11/8/2010 if this is the date picked from the date-picker with the property alias of date.
Hope it is useful
G
no i want only timepicker user interface (not the value).how to do it ?
Hi Siva
Dont think there is an easy way to "hide" the date part in the Umbraco UI.
How about using 2 uComponents sliders with 0 to 24 and 0 to 59 as ranges? In theory it is the same.
http://ucomponents.codeplex.com/wikipage?title=Slider
Certainly is an option if you are using v4. Would need to check compatability with v6.
Regards
G
is working on a reply...