# Updating date on VOXL on softap mode

Source: https://forum.modalai.com/topic/856/updating-date-on-voxl-on-softap-mode
Category: Feature Requests (https://forum.modalai.com/category/29/feature-requests)
Posted: 2022-04-12 19:38:20 UTC by frafrat
Replies: 3 · Views: 1736

## frafrat · 2022-04-12 19:38:20 UTC

Hello, 

As I power on my drone, the date reported from the voxl is Jan 1st, 1970. To update the date, the only way that I am aware of is to switch the voxl to station mode so that it gets an internet connection. 
As I am controlling the drone by running QGC on my laptop, is there any automated way to send the laptop date to the voxl while always maintaining the voxl in softap mode and never switching to station mode?

Please let me know if you can recommend a way to update the date on the voxl by only using the laptop connected to the drone through the WiFi or by using QGC.

Thank you very much for your help, and please let me know if you need further information.

Best,

Francesco

## Reply by tom (ModalAI staff) · 2022-04-12 19:51:49 UTC

@frafrat A quick way to set it to some arbitrary time is with the `date` command:  
```
/ # date
Thu Jan  1 00:05:07 UTC 1970
/ # date -s '2014-12-25 12:34:56'
Thu Dec 25 12:34:56 UTC 2014
/ # date
Thu Dec 25 12:34:57 UTC 2014
```
However this isn't persistent and will revert after a reboot.

## Reply by Eric Katzfey (ModalAI staff) · 2022-04-12 19:55:07 UTC

@frafrat The voxl uses NTP (https://www.linux.com/topic/networking/keep-accurate-time-linux-ntp/) to get current time over the Internet. So, if you can host an ntp server on your laptop, then the voxl can get the time from it.

## Reply by frafrat · 2022-04-18 21:45:26 UTC

Thanks a lot! I'll look into that. Thanks again
