Dagger
Search

datetime

No long description provided.

Installation

dagger install github.com/shykes/daggerverse/datetime@dfb1f91fa463b779021d65011f0060f7decda0ba

Entrypoint

Return Type
Datetime
Example
func (m *myModule) example() *Datetime  {
	return dag.
			Datetime()
}
@function
def example() -> dag.Datetime:
	return (
		dag.datetime()
	)
@func()
example(): Datetime {
	return dag
		.datetime()
}

Types

Datetime 🔗

now() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/datetime@dfb1f91fa463b779021d65011f0060f7decda0ba call \
 now
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Datetime().
			Now(ctx)
}
@function
async def example() -> str:
	return await (
		dag.datetime()
		.now()
	)
@func()
async example(): Promise<string> {
	return dag
		.datetime()
		.now()
}