conversion problem

Posted by Saravanan05 under ASP.NET on 11/2/2009 | Views : 836 | Status : [Member] | Replies : 2
hi

iin vb code i have the code like this
Microsoft.VisualBasic.DateAndTime.DateDiff(Microsoft.VisualBasic.DateInterval.Hour

but c# DateAndTime.DateDiff,DateInterval. is not avialable

any one give corrce solution




Responses

Posted by: Lakhangarg on: 11/2/2009 [Member] [Moderator] Silver

Up
0
Down
Hi-
Can you please let me know what is your input value and what output is required. so that i can post solution accordingly if possible.

Thanks & Regards
Lakhan Pal Garg

Saravanan05, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bubbly on: 11/5/2009 [Member] Bronze

Up
0
Down
Hello,

You can try like this
Microsoft.VisualBasic.DateAndTime.DateDiff(Microsoft.VisualBasic.DateInterval.Hour;


++
Thanks & Regards,
Deepika

Saravanan05, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response