DateTime's functions in PowerShell -
i write application in powershell, , want convert seconds date.
in c# there addseconds function adds seconds date. function in powershell similar performance?
well, since .net framework right @ fingertips, can do
$d1 = [system.datetime]::now
and then
$d2 = $d1.addseconds(30)
get-date appears wrapper datetime object , following work well:
$d3 = get-date 23.10.2010 -format dd.mm.yyyy
Comments
Post a Comment