with Evenium and Formatting?
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The Evenium API offers a toolkit for automating and integrating event management tasks into Pipedream's serverless platform. With the Evenium API, you can create workflows that automate event creation, attendee management, and real-time analytics tracking. This enables you to seamlessly synchronize event details with other apps, send personalized communications, and manage registrations with minimal manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
evenium: {
type: "app",
app: "evenium",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://secure.evenium.com/api/1/contacts`,
params: {
accessToken: `${this.evenium.$auth.access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})