S superbabicka Member Licensed User Apr 5, 2008 #1 Hi, I want to feed (pump) Calendar vith the value from database like: Today is 05.04.2008 - "dd.mm.yyyy" so, in my database Date Of Birth is 05.03.1977. How to change value on Calendar, reading from database...? Will be: Calendat.Value = dr.GetValue(12) - where DR is Reader, and (12) is Date_Of_Birth Any Idea? Thanks!
Hi, I want to feed (pump) Calendar vith the value from database like: Today is 05.04.2008 - "dd.mm.yyyy" so, in my database Date Of Birth is 05.03.1977. How to change value on Calendar, reading from database...? Will be: Calendat.Value = dr.GetValue(12) - where DR is Reader, and (12) is Date_Of_Birth Any Idea? Thanks!
alfcen Well-Known Member Licensed User Longtime User Apr 5, 2008 #2 Hi, Please try with: Calendar.Value = DateParse(dr.GetValue(12)) Make sure that the calendar control is set to the same format string as your DB date entry or vice-versa.
Hi, Please try with: Calendar.Value = DateParse(dr.GetValue(12)) Make sure that the calendar control is set to the same format string as your DB date entry or vice-versa.
S superbabicka Member Licensed User Apr 5, 2008 #3 Yes! Thank you . I found tick in my database 625988845655213352000000000 million numbers What is this numbers? Days?
Yes! Thank you . I found tick in my database 625988845655213352000000000 million numbers What is this numbers? Days?
Erel B4X founder Staff member Licensed User Longtime User Apr 5, 2008 #4 See this tutorial: http://www.b4x.com/forum/showthread.php?t=894