I want remove time part and display only date in dd/MM/YYYY format
On Oct 24, 7:19 am, Diego Mijelshon <[email protected]> wrote:
> Hiren,
>
> After getting the data, use the DateTime.Date property (it returns a
> DateTime with 00:00:00 as the time)
>
> Diego
>
>
>
> On Fri, Oct 23, 2009 at 02:13, Hiren <[email protected]> wrote:
>
> > Dear Friends,
> > We are developing application using VS2008, c#, SQL Server2000 and
> > Nhibernate.
>
> > HQL query "select a.empname,a.joiningdate from entemp a"
>
> > here date of joining is coming along with time.
> > I want to remove time part in query, could you pls help me.
>
> > thanks in advance
> > hiren patel- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---