Idea for a Personal Expense Manager
This commit is contained in:
parent
4e68780573
commit
35ab345108
|
@ -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))))
|
Loading…
Reference in New Issue