Skip to content

Instantly share code, notes, and snippets.

View madd0's full-sized avatar

Mauricio Díaz Orlich madd0

View GitHub Profile
@madd0
madd0 / msbuild-get-date.proj
Created June 7, 2018 10:19 — forked from sayedihashimi/msbuild-get-date.proj
MSBuild how to get a good formatted date
<Project
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="4.0"
DefaultTargets="Demo" >
<Target Name="Demo">
<PropertyGroup>
<CurrentDate>$([System.DateTime]::Now.ToString(yyyyMMdd-mmss))</CurrentDate>
</PropertyGroup>