Get current date via Inline Script / Script Task

@Johan refer this post.

Cannot create Date variable using Javascript in script task