I don't know if this is just me, but I can not seem to find out what time my PFSense Router thinks it is. I was trying to look over my log entries and they had future times, but it took me a while just to find out that the time zone was set to africa. Does anyone else think it would be helpful to have the time on the home screen and the logs area?
GruensFroeschli last edited by
Yeah, that is where I found out that the timezone was set for africa… but on mine there is no actual time. I can not see if there was a problem connecting to the NTP server and the time is completely off or when I log on for the first time and don't think about the timezone I do not see that the time is off on the home page.
Do other people have the time on their's?
berniem last edited by
I was also looking for such a thing and came up empty-handed. (No, the current time isn't on the System->General Setup page, just the timezone.) I eventually had to ssh into the machine to see what time it thought it was.
I was meaning to add it to the feature request list but haven't gotten around to it yet. :-)
dro last edited by
You can get the time from the Status > System logs page, from the logs themselves. There is also a "OpenNTPD" tab that logs that side of things.
But yes it would be nice to have the current time/date on the front page/dashboard.
Perry last edited by
You could ssh to your pfSense box (winscp or ctrl+l in ubuntu)
make a new line before
exec("/bin/date", $dateOutput, $dateStatus); $currentDate = $dateOutput; ?>
Platform / Current Date
cybrsrfr last edited by
Another way to get the time is:
PFSense Menu -> Diagnostics -> Command
In the section titled PHP Execute in the Command text area box type the following:
Then press the 'Execute' button and you will see the time and date.
hmmm Not that I dislike PHP, but I tried just using date in the shell code area and I got 11:46 UTC and it is 7:46 ET anyone know if those are the same?
Perry last edited by
Prolly as php date will show UTC time.
If you execute " date " in Execute Shell command or goto http://yourpfsenseip/status.php
you will see your local time.