Since my development deals with the sysadmin domain, quite frequently I need to obtain the current date in my format of choice (yyyy-mm-dd). This post is a reference post with examples of how to get the date in that format using VB script, C#, Python, bash, and dos batch. VB Script: 1: Dim strDayOfMonth: strDayOfMonth [...]