Hello guys i looked the internet and here but i couldnt find the solutuon , anyway here is my problem.
I have a date and I need to convert this date to timestamp, but I need to do this according to canadian time. I am using the getTime() method, but this method converts to local time. As I change the clock of the pc, while my normal date remains constant, my timestamp date changes and this causes an error. Is there a method I can use instead of getTime() or how can I solve this problem? thanks for your solutions.