Idea for a Personal Expense Manager

This commit is contained in:
John Doe 2017-10-12 12:52:17 +05:30
parent 4e68780573
commit 35ab345108
1 changed files with 10 additions and 0 deletions

10
contrapunctus/cp-pem.el Normal file
View File

@ -0,0 +1,10 @@
(defun cp/pem-timestamp (date-time)
"Converts user input date and time to UNIX epoch time and
inserts it after point.
A timezone must be specified, or MUST include the timezone!"
(interactive "sDate and time: ")
(insert
(format-time-string
"%s"
(date-to-time date-time))))