B buras3 Active Member Licensed User Longtime User Aug 25, 2013 #1 hello all I am trying for a long time now to get the year from a date i am saving the date from the call log as Ticks strftime('%Y',Date) AS Year just won't work I get -471 all the time doe's anybody know how to get the year ?? tank you michael
hello all I am trying for a long time now to get the year from a date i am saving the date from the call log as Ticks strftime('%Y',Date) AS Year just won't work I get -471 all the time doe's anybody know how to get the year ?? tank you michael
mangojack Expert Licensed User Longtime User Aug 25, 2013 #2 try this .. Code: Copy Dim Y As String Y = DateTime.GetYear(Date) 'Date = call log date in ticks Log (Y) Cheers mj Last edited: Aug 25, 2013 Upvote 0
try this .. Code: Copy Dim Y As String Y = DateTime.GetYear(Date) 'Date = call log date in ticks Log (Y) Cheers mj