[29] Results

Golang : Convert Unix timestamp to UTC timestamp

golang unix-timestamp utc-timestamp strconv parseint

Problem :

You have a Unix timestamp and you want to convert it to UTC time format. How to do….... 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


PHP : Convert string to timestamp or datestamp before storing to database(MariaDB/MySQL)

php date timestamp strtotime

Problem :

Need to convert a date string in PHP before storing the date into database(MariaDB/MySQL). The field in table….... read more


Golang : How to get hour, minute, second from time?

golang hour minute second timestamp

Problem :

You have unix timestamp or time stamp in string format. You want to convert the unix timestamps from….... 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 : Comparing date or timestamp

golang time-equal timestamp compare-time

Problem :

You have to compare two timestamps to see if the they are equal or not.

Solution :

Use….... read more


Golang : Convert date string to variants of time.Time type examples

golang date convert-timestamp format-date

Here are few examples on how to convert a given date of string type to equivalent time.Time type. Most newbies….... read more


Advertisement