I don't know what tools do you have on embedded system, but I really don't think this has to be using Python.
Here is what I would do on a normal desktop using your unique way to set up time: date -s "$(curl -s -I http://example.com | grep Date | cut -d \ -f 2-)" On Jun 4, 8:05 am, Ross <ros...@gmail.com> wrote: > I'd like to just quickly and with a minimum of parsing (ie no screen- > scraping) get a unix epoch timestamp (or another format if necessary). > > I thought with a quick second search on Google I'd find a URL where I > could do a simple urllib2 based HTTP GET and have a timestamp > returned to me. I don't want to use NTP. > I need this because I want to run it on an embedded system where I > don't have a local timesource, but do have a network service. I'm very > low on memory tho. > > I can set up my own service on django I suppose, and just render back > the timestamp from datetime.time() but SURELY someone else is already > doing that? > > My googling has fallen flat. Any suggestions. > > Thanks in advance! > > -Ross. -- http://mail.python.org/mailman/listinfo/python-list