How to get the image -Date Taken from UI Path?

howto
studio

#1

Hi ,

I am actually downloading an image from the server and store to a local folder. I would want to get the image “Date Taken” of that particular .jpg file.

i.e image1.jpg->right click->Properties->Details->Origin->Date taken.

Could you provide me some suggestions?

Thanks in advance.

Roopa


#2

@Roopa_Budda_Thiagu, Refer this,

  1. Find latest File in a folder with respect to date Created
  2. Open the downloaded excel file

Regards,
Dom :slight_smile:


#3

@Dominic,

The above sample tried using,
i got the date that the image has been copied to the local file system.
I actually need the image taken date.

i.e image1.jpg->right click->Properties->Details->Origin->Date taken.

Date taken is different from that of created , modified date,
Kindly help me in this.


#4

@Roopa_Budda_Thiagu, In that case use the below code,

Regards,
Dom :slight_smile:


#5

has anyone tried recording such sequences for getting image properties?
right click- Properties->…


#6

HI @Roopa_Budda_Thiagu,

DateTime creation = File.GetCreationTime(@"C:\test.jpg")
DateTime modification = File.GetLastWriteTime(@"C:\test.jpg")

Regards,
Arivu


#7

Hi,
@Dominic , @arivu96

Thanks for helping me out…ImageDateTaken.zip (1.1 MB)

I have taken the image created date using the above - recording action.

Regards,
ROOPA