[25] Results

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


Golang : How to determine if a year is leap year?

golang date leap-year

A leap year is a year with 366 days instead of 365 days. The algorithm to calculate if a year….... read more


Elastic Search : Mapping date format and sort by date

elasticsearch sort date mapping

While working on the job board for Socketloop.com recently, I need to sort the Elastic Search result based….... read more


Golang : How to execute code at certain day, hour and minute?

golang hour-minute-second year-month-day time-now-date

Problem:

You want to execute certain code at a particular day, hour and minute only. Such as Monday, 10:30 AM.….... read more


Golang : Determine if time variables have same calendar day

golang time-equal compare-date

Problem :

You have two or more variables that are of type time.Time and you want to find out if….... 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 : Calculate elapsed years or months since a date

golang elapsed-time date year month

This is additional tutorial to our previous tutorial on how to calculate elasped run time. We will learn….... read more


Is my marketing working? Get the answer with Google Attribution

google-attribution last-click-paradigm reporting-tool marketing-effort analytics-innovations

First, let's understand the term "last-click paradigm" or "last-click attribution". Last-Click paradigm refers to a web analytics model in which….... read more


Advertisement

Advertisement