how can i extract date from datetime
Posted: Tue Nov 21, 2006 7:59 am
hi sir
i m using vicidial.i have a CRM project in which i can access the asterisk database.but i have a problem in accessing some records
like..........
in the vicidial_agent_log table event_time fields datatype formate is like that
2006-09-15 00:00:00 but that formate not supported by VB.NET.
so how i can access only date from this.
i was trying with changing datatype DATETIME to DATE.but by query it takes default time 12:00 AM automatically.
can u have some guidence ,about that how can i extract only date from datetime
thankyou
i m using vicidial.i have a CRM project in which i can access the asterisk database.but i have a problem in accessing some records
like..........
in the vicidial_agent_log table event_time fields datatype formate is like that
2006-09-15 00:00:00 but that formate not supported by VB.NET.
so how i can access only date from this.
i was trying with changing datatype DATETIME to DATE.but by query it takes default time 12:00 AM automatically.
can u have some guidence ,about that how can i extract only date from datetime
thankyou