Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTime Now -> UtcNow #1

Open
KThaulow opened this issue Jun 18, 2018 · 0 comments
Open

DateTime Now -> UtcNow #1

KThaulow opened this issue Jun 18, 2018 · 0 comments

Comments

@KThaulow
Copy link
Owner

DateTime.Now 
	=> DateTimeExt.Now
	
DateTime.Today 
	=> DateTimeExt.UtcToday
	
DateTime.{Parse, ParseExact, TryParse, TryParseExact} 
	=> DateTimeExt.{Parse, ParseExact, TryParse, TryParseExact}
	
new DateTime(year, month, day) 
	=> DateTimeExt.UtcDate(year, month, day)
	
new DateTime(year, month, day, minute, hour, second) 
	=> DateTimeExt.UtcDate(year, month, day, hour, minute, second)
	
new DateTime(year, month, day, hour, minute, 0) 
	=> DateTimeExt.UtcDate(year, month, day, hour, minute)
	
new DateTime(year, month, day, hour, 0, 0) 
	=> DateTimeExt.UtcDate(year, month, day, hour)
	
new DateTime(year, month, day, 0, 0, 0) 
	=> DateTimeExt.UtcDate(year, month, day)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant