[46] Results

Golang : Calculate time different

golang time-different

Problem :

You are looking to calculate the days between two dates. How to do that in Golang?

Solution :

.... read more


Golang : Calculate future date with time.Add() function

golang time-different future-date

Problem :

You need to calculate future dates by number of days. This can be use in calculating expiring dates….... read more


Golang : minus time with Time.Add() or Time.AddDate() functions to calculate past date

golang time-different future-date past-date

Let's go back into history for this tutorial's sake. Somehow you have invented a time traveling device powered by Golang….... read more


Web : How to see your website from different countries?

web different-countries url

Problem :

You need to see(visually) how does your website looks like from different countries and you don't have multiple….... read more


Transferring Google Authenticator to new phone

google-authenticator qr-code move-to-a-different-phone

Recently, my old smartphone is showing sign of age and it is time to upgrade to a new phone. Transferring….... read more


Golang : Date and Time formatting

golang date time timestamp

Our civilizations won't progress till this stage without proper understanding, parsing and organising our lives base on date and time.….... read more


Golang : Get current, epoch time and display by year, month and day

golang get-current-time now epoch-time unix-time

Problem :

You need to get current and Epoch(Unix) time and display the time by year, month and day.

Solution….... read more


Golang : Get current time from the Internet time server(ntp) example

golang time-zone synchronize-time network-time-protocol

There are times when a program needs to have accurate machine time. For example, the make command found in Unix/Linux.….... read more


Advertisement