Available inall subroutines.

This specialized function takes a hexadecimal string value, divides it by divisor, and interprets the result as seconds since the Unix Epoch.


declare local var.hextime TIME;
set var.hextime = time.hex_to_time(1, "43b9a355");
# var.hextime is now "Mon, 02 Jan 2006 22:04:05 GMT"

User contributed notes


Do you see an error in this page? Do have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact support@fastly.com)