SyntaxFix
Write A Post
Hire A Developer
Questions
If you wanted just a Date, you can do Date.strptime(invoice.date.to_s, '%s') where invoice.date comes in the form of anFixnum and then converted to a String.
Date.strptime(invoice.date.to_s, '%s')
invoice.date
Fixnum
String