This is very handy :). More discussion here.
strftime(today, format = "%j")
Δ
Have a WordPress.com account? Log in now.