Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi ,

Iam trying to display the file info detatils .
Get file size and date using IFILE_Getinfo().
File size is displayed correcly.But i don't know how to convert "dwCreationDate"
in date format.It displayed in seconds,that is a big value.
help me.

Thanks
Premlal

Use GETJULIANDATE()

Use GETJULIANDATE()

Thanks for your Reply,
GetJulianDate() is working fine.This date can be displayed with IDATECTL_SetDate()function.But my problem is that i want to display that date in my display area.
I am using IGRAPHICS and IDISPLAY interfaces for drawing purpose.Is there is any way get to this date in a string or character format.
Because i want to draw these date in a specified screen position.
Purpose is to display file creation date.
thanks :confused:
Premlal

Thanks for your Reply,
GetJulianDate() is working fine.This date can be displayed with IDATECTL_SetDate()function.But my problem is that i want to display that date in my display area.
I am using IGRAPHICS and IDISPLAY interfaces for drawing purpose.Is there is any way get to this date in a string or character format.
Because i want to draw these date in a specified screen position.
Purpose is to display file creation date.
thanks :confused:
Premlal

Check the API ref for SNPRINTF()

Check the API ref for SNPRINTF()