You can always define a public method to do this for you:
public string PrintDate(DateTime m_date)
{
return m_date.ToShortDateString() + m_date.ToShortTimeString();
}
But why not to use ToUniversalTime()
<%= DateTime.Parse(dr["dt"].ToString()).ToUniversalTime().Tostring() %>
--
Gaidar Magdanurov
VBStreets, Editor-in-Chief
private.php?do=newpm&u= /
http://www.vbstreets.org
"Patrick Olurotimi Ige" <> wrote in message
news:...
> 3/4/2005 5:50:08 PM
>
> Normally i display the above time and Date above from Database by using
> :-
>
> <%= DateTime.Parse(dr["dt"].ToString()).ToShortDateString() %><br/>
> <%= DateTime.Parse(dr["dt"].ToString()).ToShortTimeString() %>
>
> Any ideas how to display them together without having to seperate them
> as i have done above???
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!