computing and/or coding

Pages

  • Home

Monday, 21 May 2012

get proper ms-dos timestamp


set hr=%time:~0,2%
if "%hr:~0,1%" equ " " set hr=0%hr:~1,1%
set myFilesuffix=%date:~-4,4%%date:~-7,2%%date:~-10,2%_%hr%%time:~3,2%%time:~6,2%
echo %myFilesuffix%
pause
 
Posted by kburakozdemir at 07:30 1 comments
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: batch file, ms-dos, timestamp
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Support Wikipedia

Development Links

asp.net web forms
asp.net mvc
Zend PHP Absolute Beginner
New Boston PHP
New Boston Beginner JavaScript
New Boston jQuery
New Boston Objective-C
New Boston iPhone Dev
New Boston Android Dev
yii php framework
symfony php framework
codeigniter php framework
cakephp php framework
zend php framework
php ez components
phpdevshell
BuildAModule

Search This Blog

Blog Archive

  • ►  2014 (1)
    • ►  February (1)
  • ▼  2012 (2)
    • ▼  May (1)
      • get proper ms-dos timestamp
    • ►  March (1)
  • ►  2011 (5)
    • ►  November (5)

Labels

Audio-CD burning (1) Audio-CD ripping (1) batch file (1) BuildAModule (1) cddb (1) cdrdao (1) Drupal (1) Drupal Learning (1) grub (1) javascript (1) jq ui themes (1) jquery (1) jquery ui (1) linux (3) mbr (1) ms-dos (1) timer (1) timestamp (1) utf-8 (1) vb (1) vba (1)
Simple theme. Powered by Blogger.