Torna al Thread

Regex regex = new Regex("(?<giorno>.{2})(?<mese>.{2})(?<anno>.{4})"); Match match = regex.Match("06102007"); DateTime data = DateTime.Parse( match.Groups["giorno"].Value + "/" + match.Groups["mese"].Value + "/"+ match.Groups["anno"].Value );
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5