Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In vim, strftime("%F") will generate current time in the specified format.

Is there any way I can specify, say, same time tomorrow in strftime? I tried strftime("%F", "date -d 'tomorrow'"). But that generates 01 Jan 1970 0530!

share|improve this question
This question already got a close vote, i would recommend posting this at stackoverflow.com, it would suit better, Thanks. – tijybba Aug 25 '12 at 6:41

closed as off topic by izx, Web-E, con-f-use, Jorge Castro, jokerdino Aug 25 '12 at 13:06

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.