Hi all,

Sorry, I did some more digging right after I sent this, and found the following in org-remember.el:

(ct (or org-overriding-default-time (org-current-time)))
(format-time-string (car org-time-stamp-formats) ct)

So, there it is.

Thank you,
Zachary

On Wed, Apr 14, 2010 at 6:56 PM, Zachary Young <zacharysyoung@gmail.com> wrote:
Hi all,

I'm still new to elisp, so forgive me if I am missing something obvious...

I would like to make an orgmode active time-stamp from within a custom function I am writing. I have looked at `org-time-stamp' but do not see a way to call this in a *non-interactive* fashion from my code. Inside `org-time-stamp' I was looking for a "core time-stamp function" that the interactive functions would call... but could not make one out. Is there a function already defined that when called will make a time-stamp with default values?

If not, can someone point out the lines of code inside `org-time-stamp' that I can duplicate in my own code?

I would prefer not to have to make a macro.

Thank you,
Zachary