Register
Sign In
Skip over navigation
Home
Add New Question
Jobs
Products
C# DateTime Parsing
Question posted
in
Computer Software
on
09 2009
Rate question difficulty level
0
0 Votes
Given a string in an unknown datetime format.
How would you "load" it into a datetime object?
example : String dateStr = ''20090929181523"
Add an answer
Share
|
1 Answer
Gadi Berqowitz
The datetime object has a static Parse method which allows the user to
"load" any datetime in any legal format.
String dateStr = ''20090929181523"
DateTime.Parse(dateStr)
If the format is known , the ParseExact method can be used.
Futher reading
http://msdn.microsoft.com/en-us/library/1k1skd40.aspx
http://msdn.microsoft.com/en-us/library/w2sa9yss.aspx
09/29/2009
Add an answer*
Your name
Email
Enter the code shown above:
please wait..
Location:
Glil Yam
, Israel
Tags:
c#
,
datetime
Occupations:
Software\System Architecture
,
Software\Web Development
add a question
Now hiring!
PSF IT Project Manager
Children's Hospital of Orange County
Orange, CA
include development and management of capital budget for information technology, securing resources to accomplish ... experience * 5 years experience managing the Information Technology function in the healthcare industry * Strong...
---------------------------
Business Process Analyst 3-Health IT
Northrop Grumman
Woodlawn, MD
Northrop Grumman Information Systems sector is seeking a Business Analyst for IT Software Development to join our team ... management and analysis activities along all phases of the software development life cycle, including conducting user...
---------------------------
IT Mgr Software Engineering
Apollo Group
Phoenix, AZ
supervision and the software development guidelines and technology standards defined by Apollo Corporate IT, this ... Experience supervising and/or leading other professional level IT staff is required...
---------------------------
Senior Software Developer - Info Technology Job
Mercer
Deerfield, IL
Senior Software Developer - Info Technology-DEE000C5 Description Mercer is the global leader for trusted Human Resources ... information, please visit us at: www.mmc.com/diversity. Job Information Technology/Software Development Primary Location...
---------------------------
Account Manager - IT Staff Augmentation/IT Consulting Services
TNT Staffing
Emerson, NJ
for highly motivated, dynamic Information Technology (IT) Sales Professionals to join our growing IT Staffing ... and a passion for relationship building and business development. The right candidate will have a successful...
---------------------------
Software Development Manager 2 - Health IT
Northrop Grumman
Providence, RI
Northrop Grumman is seeking an experienced Software Development Manager to join our team of qualified, diverse ... years of relevant experience - Experience with IT Project Development Lifecycle - Strong Medicaid/Medicare business...
---------------------------
IT Mgr Software Development
Apollo Group
Phoenix, AZ
supervision and the software development guidelines and technology standards defined by Apollo Corporate IT, this ... design, development, coding, testing and debugging of new software or significant enhancements to existing software.
---------------------------
Business Intelligence/Data Management Manager - Health IT - CSD
Northrop Grumman
Woodlawn, MD
support team. The successful candidate must have prior software development experience, with specific insight into ... and data quality reporting within a structured software development framework. Possession of a PMP certification is...
Jobs
by
Simply
Hired
View all jobs