I was thinking about making a SOAP call that will grab the correct date/time.
I don't thing I will go so far as to write a NTP client, but I plan to grab the time/date from a network source. --- In nsbasic...@yahoogroups.com, "bwolodko" <ben.wolo...@...> wrote: > > --- In nsbasic...@yahoogroups.com, "t2thecathp" <t2thecathp@> wrote: > > > > Is it possible to set the date and time on the handheld device with > > NSBasic/CE code? > > > > Everytime I reset the device, it thinks it is 2004 or 2005. > > > > Sounds like the RTC is not working... need new battery? > > I think you can set or retrieve the time and date by using: > > addobject "MGCEWin32.API", "API", 0, 0, 0, 0 > d = API.SystemTime > API.SystemTime = Now > > See The Big Red Toolbox , MGCEWin32 > > http://www.nsbasic.com/ce/info/BigRedToolbox/MGCEWin32.htm > > The problem is who sets the values before you call this? InputBox? > > Shades of old DOS when it asked you for the time and date at boot time. > > Hope this helps.. > Ben > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---