.net

西暦変換と和暦変換サンプル

/// <summary> /// 西暦変換("2009年 3月 1日"を"20090301"にする) /// </summary> /// <param name="target"></param> /// <returns></returns> private string cnv西暦変換(string target) { string[] str = target.Replace(" ","").Split('年','月','日'); return string.Format("{0:D4}{1:D2}{2:D2}", Convert.ToInt32(str[0]…

Microsoft Visual SourceSafe のファイル変更履歴をテキスト出力する方法(期間指定)

以下の内容のBatファイルを作成し、パラメータを環境に合わせて実行すれば 指定のフォルダにテキスト出力される。履歴取得Batファイルの中身 @echo off :VSSのフォルダのパス set vssPath="C:\Program Files\Microsoft Visual SourceSafe\" :VSSユーザ名とパ…