I've been using this website for calculating the current stardate whenever I make a blog post. I like the stardates, I want to keep them, and to generally Trekify the rest of this blog. But entering in a the current date into HTML forms every time sucks. So I've reverse engineered their algorithm and written a bit of python to do the calculations for me. The python (and an attempt at preserving my math) is available here. In the future I want the blog to know what time it is I published and calculate and display the stardate based on that.