I'm working on improving my .vimrc, and I want to have command inside of it that depends upon whether it is night or day. I'd like to have something like the following in the end:
if isNightTime
" do something
else
" some other thing
endif
What's the best way to go about this?
:help time-functions? – El Isra Apr 3 '11 at 19:15