Hi everyone,
Does anyone know how I could set the date and time from with in a full screen Gambas application?
I ask this as my system does not have any desktop installed (I have x11 installed and that is it)
I'm thinking I would need a way to verify the date and time is correct if not I would want to be to update it from my app and not need to connect a keyboard to run terminal commands
Any advice would be welcome
System function - set date and time from Gambas app
Re: System function - set date and time from Gambas app
Don't follow. Do you want to set the date/time to what someone thinks is the right time to use or to the correct time?
If the latter then this is an operating system matter and not something your application should be dabbling in. Search ntp.
If the latter then this is an operating system matter and not something your application should be dabbling in. Search ntp.
Have you ever noticed that software is never advertised using the adjective "spreadable".
Re: System function - set date and time from Gambas app
In my opinion, since we have the "date" or "rdate" command available from the Terminal to operate on the system date and time, you could use Gambas 'Shell' function.
Europaeus sum !
Amare memorentes atque deflentes ad mortem silenter labimur.
Amare memorentes atque deflentes ad mortem silenter labimur.
Re: System function - set date and time from Gambas app
Good point. But are we talking about the application timeframe or reality?
Have you ever noticed that software is never advertised using the adjective "spreadable".