[61] Results

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 : How to get time from unix nano example

golang time unix-nano utc-from-unix-nano

Just an add on to previous tutorial on how to get time in milliseconds. This is a short….... read more

Golang : Convert file unix timestamp to UTC time example

golang json-time nano-seconds milli-seconds time-unix

This tutorial is my own notes from helping out a friend from my working days in Indonesia. Putting it here….... read more

Golang : How to get time in milliseconds?

golang time nano-seconds milli-seconds unix-nano

Helping out a friend to calculate millisecond from a given date today. Apparently, there is no direct function in Golang's….... read more

Mac OSX : Find large files by size

unix linux macosx filesize

Mac OS X prompted me about my startup disk running out of disk space. I need a quick way to….... read more

Unix/Linux : Get reboot history or check when was the last reboot date

unix linux reboot

Probably not some command that many people will look for unless you are a system administrator. Ok, so I need….... read more

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 : 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