Instead of solving this (simple) problem, review the wider design of your code and try to understand: isn't it because you are trying to work with strings representing data instead of data itself. This is a very usual fallacy of beginners' work these days. Look at it this way: the notion of the time and the calendar are universal, not depending on culture.
If you use databases, you can store data in date type, which does not depend on culture, but you can get a string value representing time in the format you want, which is defined by the query. In .NET code, you are using the types like
System.DateTime
and
System.TimeSpan
which also don't depend on culture. You need to specify culture (or simply use default culture which is defined by the culture and UI culture of your UI thread) when you show date/time on UI.
Therefore, there is no a problem of "converting" of date/time between cultures, there is a problem of storage (don't use anything culture-specific), and the problem of output to UI. Please see all of the methods
System.DateTime.ToString
and formatting:
http://msdn.microsoft.com/en-us/library/system.datetime.aspx[
^],
http://msdn.microsoft.com/en-us/library/az4se3k1.aspx[
^],
http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx[
^].
—SA