TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ali G
NA
51
38.7k
Is there any syntax like Date(Year)?
Sep 28 2013 5:59 AM
Is there any syntax like Date(Year) grabbing the year part of the exif data (DateAndTimePictureTaken) (For example: "2013:07:12 11:10:20") which is obtained such codes:
FileInfo[] files = new DirectoryInfo(pathname).GetFiles("*.JPG");
for (int i = 0; i < files.Length; i++)
{
string DateAndTimePictureTaken = string.Empty;
Image image = new Bitmap(@files[i].FullName);
foreach (PropertyItem propItem in image.PropertyItems)
{
if (propItem.Id == 0x0132)
{
DateAndTimePictureTaken = (new System.Text.ASCIIEncoding()).GetString(propItem.Value);
..................
................
Reply
Answers (
1
)
SNMP API C#
in gridview ....how to add sum of colums in footer