Hi all
this is for a widget that im building for my application
the time is used to show when the next update will be performed.
say now + 45 minutes
i have tried the following to convert unix to standard datetime format but still shows unix output
Dim TicksDiff, HoursDiff, unixtimestamp As String
unixtimestamp = DateTime.Now * DateTime.TicksPerMinute
TicksDiff = DateTime.Now - unixtimestamp * 1000
HoursDiff = TicksDiff / DateTime.TicksPerHour
i am trying to do something like this
dim newdate as string
newdate = datetime.now + 45 * datetime.ticksperminute
// display as standard formate or DD/MM/YY HH:MM or just HH:MM
any help would be greateful