Multiple choice technology programming languages

To convert a timestamp into a format more readable by a user, which function should you use?

  1. bitwise

  2. localtime

  3. translate

  4. transform

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Perl, the localtime function converts a epoch timestamp (such as that returned by time) into a list of values or a readable date/time string representing the local time zone, making it highly readable for users.